mirror of
https://github.com/apache/superset.git
synced 2026-06-02 22:29:26 +00:00
fix: Fixes workflow Applitools Cypress (#28566)
This commit is contained in:
2
.github/workflows/bashlib.sh
vendored
2
.github/workflows/bashlib.sh
vendored
@@ -212,7 +212,7 @@ cypress-run-applitools() {
|
||||
nohup flask run --no-debugger -p $port >"$flasklog" 2>&1 </dev/null &
|
||||
local flaskProcessId=$!
|
||||
|
||||
$cypress --spec "cypress/e2e/*/**/*.applitools.test.ts" --browser "$browser" --headless
|
||||
$cypress --spec "cypress/applitools/**/*" --browser "$browser" --headless
|
||||
|
||||
say "::group::Flask log for default run"
|
||||
cat "$flasklog"
|
||||
|
||||
@@ -65,8 +65,11 @@ export default eyesPlugin(
|
||||
return require('./cypress/plugins/index.js')(on, config);
|
||||
},
|
||||
baseUrl: 'http://localhost:8088',
|
||||
excludeSpecPattern: ['**/*.applitools.test.ts'],
|
||||
specPattern: ['cypress/e2e/**/*.{js,jsx,ts,tsx}'],
|
||||
excludeSpecPattern: [],
|
||||
specPattern: [
|
||||
'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
||||
'cypress/applitools/**/*.{js,jsx,ts,tsx}',
|
||||
],
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
import { WORLD_HEALTH_DASHBOARD } from 'cypress/utils/urls';
|
||||
import { waitForChartLoad } from 'cypress/utils';
|
||||
import { WORLD_HEALTH_CHARTS } from './utils';
|
||||
import { WORLD_HEALTH_CHARTS } from '../e2e/dashboard/utils';
|
||||
|
||||
describe('Dashboard load', () => {
|
||||
beforeEach(() => {
|
||||
@@ -16,7 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { FORM_DATA_DEFAULTS, NUM_METRIC } from './visualizations/shared.helper';
|
||||
import {
|
||||
FORM_DATA_DEFAULTS,
|
||||
NUM_METRIC,
|
||||
} from '../e2e/explore/visualizations/shared.helper';
|
||||
|
||||
describe('explore view', () => {
|
||||
beforeEach(() => {
|
||||
Reference in New Issue
Block a user