Skip to content

Commit 03dfd4c

Browse files
Update flashClassMap imports to use the aliased path
1 parent f102c8f commit 03dfd4c

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

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: 5 additions & 5 deletions
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';
@@ -206,9 +206,9 @@ describe('Automate Collect logs Edit form operations', () => {
206206

207207
after(() => {
208208
cy.url()
209-
?.then((url) => {
209+
.then((url) => {
210210
// Ensures navigation to Settings -> Application-Settings in the UI
211-
if (!url?.includes(COMPONENT_ROUTE_URL)) {
211+
if (!url.includes(COMPONENT_ROUTE_URL)) {
212212
// Navigate to Settings -> Application-Settings before cleanup
213213
cy.menu(SETTINGS_MENU_OPTION, APP_SETTINGS_MENU_OPTION);
214214
}
@@ -247,9 +247,9 @@ describe('Automate Collect logs Edit form operations', () => {
247247

248248
after(() => {
249249
cy.url()
250-
?.then((url) => {
250+
.then((url) => {
251251
// Ensures navigation to Settings -> Application-Settings in the UI
252-
if (!url?.includes(COMPONENT_ROUTE_URL)) {
252+
if (!url.includes(COMPONENT_ROUTE_URL)) {
253253
// Navigate to Settings -> Application-Settings before cleanup
254254
cy.menu(SETTINGS_MENU_OPTION, APP_SETTINGS_MENU_OPTION);
255255
}

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)