Skip to content

Commit eb941b6

Browse files
Update flashClassMap imports to use the aliased path
1 parent b8bcf1e commit eb941b6

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

cypress/e2e/ui/Automation/Embedded-Automate/Explorer/namespace.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-undef */
2-
import { flashClassMap } from '../../../../../support/assertions/assertion_constants';
2+
import { flashClassMap } from '@cypress-dir/support/assertions/assertion_constants.js';
33

44
// Component route url
55
const COMPONENT_ROUTE_URL = 'miq_ae_class/explorer#/';

cypress/e2e/ui/Settings/Application-Settings/c_and_u_gap_collection.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-undef */
2-
import { flashClassMap } from '../../../../support/assertions/assertion_constants';
2+
import { flashClassMap } from '@cypress-dir/support/assertions/assertion_constants.js';
33

44
// Menu options
55
const SETTINGS_MENU_OPTION = 'Settings';

cypress/e2e/ui/Settings/Application-Settings/edit_collect_logs.cy.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* eslint-disable no-undef */
2-
import { flashClassMap } from '../../../../support/assertions/assertion_constants';
2+
3+
import { flashClassMap } from '@cypress-dir/support/assertions/assertion_constants.js';
34

45
// Component route url
56
const COMPONENT_ROUTE_URL = '/ops/explorer';
@@ -206,9 +207,9 @@ describe('Automate Collect logs Edit form operations', () => {
206207

207208
after(() => {
208209
cy.url()
209-
?.then((url) => {
210+
.then((url) => {
210211
// Ensures navigation to Settings -> Application-Settings in the UI
211-
if (!url?.includes(COMPONENT_ROUTE_URL)) {
212+
if (!url.includes(COMPONENT_ROUTE_URL)) {
212213
// Navigate to Settings -> Application-Settings before cleanup
213214
cy.menu(SETTINGS_MENU_OPTION, APP_SETTINGS_MENU_OPTION);
214215
}
@@ -247,9 +248,9 @@ describe('Automate Collect logs Edit form operations', () => {
247248

248249
after(() => {
249250
cy.url()
250-
?.then((url) => {
251+
.then((url) => {
251252
// Ensures navigation to Settings -> Application-Settings in the UI
252-
if (!url?.includes(COMPONENT_ROUTE_URL)) {
253+
if (!url.includes(COMPONENT_ROUTE_URL)) {
253254
// Navigate to Settings -> Application-Settings before cleanup
254255
cy.menu(SETTINGS_MENU_OPTION, APP_SETTINGS_MENU_OPTION);
255256
}

cypress/e2e/ui/Settings/Application-Settings/schedule.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-undef */
2-
import { flashClassMap } from '../../../../support/assertions/assertion_constants';
2+
import { flashClassMap } from '@cypress-dir/support/assertions/assertion_constants.js';
33

44
// Component route url
55
const COMPONENT_ROUTE_URL = '/ops/explorer';

cypress/e2e/ui/Settings/Application-Settings/settings_access_control.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-undef */
2-
import { flashClassMap } from '../../../../support/assertions/assertion_constants';
2+
import { flashClassMap } from '@cypress-dir/support/assertions/assertion_constants.js';
33

44
describe('Settings > Application Settings > Access Control', () => {
55
// Navigation

cypress/e2e/ui/Settings/Application-Settings/tenant.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-undef */
2-
import { flashClassMap } from '../../../../support/assertions/assertion_constants';
2+
import { flashClassMap } from '@cypress-dir/support/assertions/assertion_constants.js';
33

44
// Component route url
55
const COMPONENT_ROUTE_URL = '/ops/explorer#/';

cypress/support/assertions/expect_alerts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-undef */
2-
import { flashClassMap } from './assertion_constants';
2+
import { flashClassMap } from '@cypress-dir/support/assertions/assertion_constants.js';
33

44
/**
55
* Custom Cypress command to validate flash messages.

0 commit comments

Comments
 (0)