mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +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 &
|
nohup flask run --no-debugger -p $port >"$flasklog" 2>&1 </dev/null &
|
||||||
local flaskProcessId=$!
|
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"
|
say "::group::Flask log for default run"
|
||||||
cat "$flasklog"
|
cat "$flasklog"
|
||||||
|
|||||||
@@ -65,8 +65,11 @@ export default eyesPlugin(
|
|||||||
return require('./cypress/plugins/index.js')(on, config);
|
return require('./cypress/plugins/index.js')(on, config);
|
||||||
},
|
},
|
||||||
baseUrl: 'http://localhost:8088',
|
baseUrl: 'http://localhost:8088',
|
||||||
excludeSpecPattern: ['**/*.applitools.test.ts'],
|
excludeSpecPattern: [],
|
||||||
specPattern: ['cypress/e2e/**/*.{js,jsx,ts,tsx}'],
|
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 { WORLD_HEALTH_DASHBOARD } from 'cypress/utils/urls';
|
||||||
import { waitForChartLoad } from 'cypress/utils';
|
import { waitForChartLoad } from 'cypress/utils';
|
||||||
import { WORLD_HEALTH_CHARTS } from './utils';
|
import { WORLD_HEALTH_CHARTS } from '../e2e/dashboard/utils';
|
||||||
|
|
||||||
describe('Dashboard load', () => {
|
describe('Dashboard load', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
@@ -16,7 +16,10 @@
|
|||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* 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', () => {
|
describe('explore view', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
Reference in New Issue
Block a user