Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions web/cypress/e2e/monitoring/00.bvt_admin.cy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { nav } from '../../views/nav';
import { alerts } from '../../fixtures/monitoring/alert';
import { guidedTour } from '../../views/tour';
import { runBVTMonitoringTests } from '../../support/monitoring/00.bvt_monitoring.cy';
import { commonPages } from '../../views/common';
import { overviewPage } from '../../views/overview-page';
Expand All @@ -16,6 +17,9 @@ describe('BVT: Monitoring', { tags: ['@smoke', '@monitoring'] }, () => {
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
nav.sidenav.clickNavLink(['Observe', 'Metrics']);
commonPages.titleShouldHaveText('Metrics');
cy.changeNamespace("All Projects");
Expand Down
5 changes: 5 additions & 0 deletions web/cypress/e2e/monitoring/00.bvt_dev.cy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { nav } from '../../views/nav';
import { alerts } from '../../fixtures/monitoring/alert';
import { guidedTour } from '../../views/tour';
import { runBVTMonitoringTestsNamespace } from '../../support/monitoring/00.bvt_monitoring_namespace.cy';
import { commonPages } from '../../views/common';
import { overviewPage } from '../../views/overview-page';
// Set constants for the operators that need to be installed for tests.
const MP = {
namespace: 'openshift-monitoring',
Expand All @@ -15,6 +17,9 @@ describe('BVT: Monitoring - Namespaced', { tags: ['@monitoring-dev', '@smoke-dev
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
alerts.getWatchdogAlert();
nav.sidenav.clickNavLink(['Observe', 'Alerting']);
commonPages.titleShouldHaveText('Alerting');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { alerts } from '../../../fixtures/monitoring/alert';
import { runAllRegressionAlertsTests } from '../../../support/monitoring/01.reg_alerts.cy';
import { commonPages } from '../../../views/common';
import { nav } from '../../../views/nav';
import { guidedTour } from '../../../views/tour';

const MP = {
namespace: 'openshift-monitoring',
Expand All @@ -16,6 +17,9 @@ describe('Regression: Monitoring - Alerts (Administrator)', { tags: ['@monitorin
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
alerts.getWatchdogAlert();
nav.sidenav.clickNavLink(['Observe', 'Metrics']);
commonPages.titleShouldHaveText('Metrics');
Expand Down
4 changes: 4 additions & 0 deletions web/cypress/e2e/monitoring/regression/01.reg_alerts_dev.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { alerts } from '../../../fixtures/monitoring/alert';
import { runAllRegressionAlertsTestsNamespace } from '../../../support/monitoring/04.reg_alerts_namespace.cy';
import { commonPages } from '../../../views/common';
import { nav } from '../../../views/nav';
import { guidedTour } from '../../../views/tour';

const MP = {
namespace: 'openshift-monitoring',
Expand All @@ -15,6 +16,9 @@ describe('Regression: Monitoring - Alerts Namespaced (Administrator)', { tags: [
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
alerts.getWatchdogAlert();
nav.sidenav.clickNavLink(['Observe', 'Alerting']);
commonPages.titleShouldHaveText('Alerting');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { runAllRegressionMetricsTests1 } from '../../../support/monitoring/02.re
import { runAllRegressionMetricsTestsNamespace1 } from '../../../support/monitoring/05.reg_metrics_namespace_1.cy';
import { commonPages } from '../../../views/common';
import { nav } from '../../../views/nav';
import { guidedTour } from '../../../views/tour';

const MP = {
namespace: 'openshift-monitoring',
Expand All @@ -16,6 +17,9 @@ describe('Regression: Monitoring - Metrics (Administrator)', { tags: ['@monitori
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
nav.sidenav.clickNavLink(['Observe', 'Metrics']);
commonPages.titleShouldHaveText('Metrics');
cy.changeNamespace("All Projects");
Expand All @@ -36,6 +40,9 @@ describe('Regression: Monitoring - Metrics Namespaced (Administrator)', { tags:
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
nav.sidenav.clickNavLink(['Observe', 'Metrics']);
commonPages.titleShouldHaveText('Metrics');
cy.changeNamespace(MP.namespace);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { runAllRegressionMetricsTests2 } from '../../../support/monitoring/02.re
import { runAllRegressionMetricsTestsNamespace2 } from '../../../support/monitoring/05.reg_metrics_namespace_2.cy';
import { commonPages } from '../../../views/common';
import { nav } from '../../../views/nav';
import { guidedTour } from '../../../views/tour';

const MP = {
namespace: 'openshift-monitoring',
Expand All @@ -16,6 +17,9 @@ describe('Regression: Monitoring - Metrics (Administrator)', { tags: ['@monitori
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
nav.sidenav.clickNavLink(['Observe', 'Metrics']);
commonPages.titleShouldHaveText('Metrics');
cy.changeNamespace("All Projects");
Expand All @@ -36,6 +40,9 @@ describe('Regression: Monitoring - Metrics Namespaced (Administrator)', { tags:
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
nav.sidenav.clickNavLink(['Observe', 'Metrics']);
commonPages.titleShouldHaveText('Metrics');
cy.changeNamespace(MP.namespace);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { runAllRegressionLegacyDashboardsTests } from '../../../support/monitori
import { runAllRegressionLegacyDashboardsTestsNamespace } from '../../../support/monitoring/06.reg_legacy_dashboards_namespace.cy';
import { commonPages } from '../../../views/common';
import { nav } from '../../../views/nav';
import { guidedTour } from '../../../views/tour';

const MP = {
namespace: 'openshift-monitoring',
Expand All @@ -16,6 +17,9 @@ describe('Regression: Monitoring - Legacy Dashboards (Administrator)', { tags: [
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
//when running only this file, beforeBlock changes the namespace to openshift-monitoring
//so we need to change it back to All Projects before landing to Dashboards page in order to have API Performance dashboard loaded by default
nav.sidenav.clickNavLink(['Observe', 'Metrics']);
Expand All @@ -41,6 +45,9 @@ describe('Regression: Monitoring - Legacy Dashboards Namespaced (Administrator)'
});

beforeEach(() => {
cy.visit('/');
guidedTour.close();
cy.validateLogin();
nav.sidenav.clickNavLink(['Observe', 'Dashboards']);
commonPages.titleShouldHaveText('Dashboards');
cy.changeNamespace(MP.namespace);
Expand Down
1 change: 0 additions & 1 deletion web/cypress/fixtures/monitoring/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ export enum MetricsPagePredefinedQueries {
export enum MetricsPageQueryInput {
EXPRESSION_PRESS_SHIFT_ENTER_FOR_NEWLINES = 'Expression (press Shift+Enter for newlines)',
INSERT_EXAMPLE_QUERY = 'sort_desc(sum(sum_over_time(ALERTS{alertstate="firing"}[24h])) by (alertname))',
INSERT_EXAMPLE_QUERY_NAMESPACE = 'sort_desc(sum(sum_over_time(ALERTS{alertstate="firing", namespace="openshift-monitoring"}[24h])) by (alertname))',
VECTOR_QUERY='vector(1)',
CPU_USAGE = 'OpenShift_Metrics_QueryTable_sum(node_namespace_pod_container_container_cpu_usage_seconds_total_sum_irate) by (pod).csv',
MEMORY_USAGE = 'OpenShift_Metrics_QueryTable_sum(container_memory_working_set_bytes{container!=__}) by (pod).csv',
Expand Down
3 changes: 0 additions & 3 deletions web/cypress/support/commands/auth-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ declare global {
}

Cypress.Commands.add('validateLogin', () => {
cy.log('validateLogin');
cy.visit('/');
cy.wait(2000);
cy.byTestID("username", {timeout: 120000}).should('be.visible');
cy.wait(10000);
guidedTour.close();
});

Expand Down Expand Up @@ -129,7 +127,6 @@ declare global {
}
});
nav.sidenav.switcher.changePerspectiveTo(perspective);
cy.validateLogin();
});

// To avoid influence from upstream login change
Expand Down
2 changes: 0 additions & 2 deletions web/cypress/support/commands/utility-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ Cypress.Commands.add('waitUntilWithCustomTimeout', (

Cypress.Commands.add('podImage', (pod: string, namespace: string) => {
cy.log('Get pod image');
cy.switchPerspective('Core platform');
cy.wait(5000);
cy.clickNavLink(['Workloads', 'Pods']);
cy.changeNamespace(namespace);
cy.byTestID('page-heading').contains('Pods').should('be.visible');
Expand Down
1 change: 1 addition & 0 deletions web/cypress/support/monitoring/02.reg_metrics_1.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ export function testMetricsRegression1(perspective: PerspectiveConfig) {
//https://issues.redhat.com/browse/OU-974 - [Metrics] - Units - undefined showing in Y axis and tooltip
it(`${perspective.name} perspective - Metrics > Units`, () => {
cy.log('5.1 Preparation to test Units dropdown');
cy.visit('/monitoring/query-browser');
metricsPage.clickInsertExampleQuery();
metricsPage.unitsDropdownAssertion();

Expand Down
1 change: 0 additions & 1 deletion web/cypress/support/monitoring/02.reg_metrics_2.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export function testMetricsRegression2(perspective: PerspectiveConfig) {

it(`${perspective.name} perspective - Metrics > Add Query - Run Queries - Kebab icon`, () => {
cy.log('6.1 Preparation to test Add Query button');
metricsPage.clickActionsDeleteAllQueries();
cy.byTestID(DataTestIDs.MetricsPageExpandCollapseRowButton).should('have.length', 1);
metricsPage.clickInsertExampleQuery();
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export function testMetricsRegressionNamespace1(perspective: PerspectiveConfig)
cy.log('4.1 Insert Example Query');
metricsPage.clickInsertExampleQuery();
metricsPage.shouldBeLoadedWithGraph();
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);
metricsPage.graphAxisXAssertion(GraphTimespan.THIRTY_MINUTES);

cy.log('4.2 Graph Timespan Dropdown');
Expand Down Expand Up @@ -193,6 +193,7 @@ export function testMetricsRegressionNamespace1(perspective: PerspectiveConfig)
//https://issues.redhat.com/browse/OU-974 - [Metrics] - Units - undefined showing in Y axis and tooltip
it(`${perspective.name} perspective - Metrics > Units`, () => {
cy.log('5.1 Preparation to test Units dropdown');
cy.visit('/monitoring/query-browser');
metricsPage.clickInsertExampleQuery();
metricsPage.unitsDropdownAssertion();

Expand Down
21 changes: 11 additions & 10 deletions web/cypress/support/monitoring/05.reg_metrics_namespace_2.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ export function testMetricsRegressionNamespace2(perspective: PerspectiveConfig)
metricsPage.shouldBeLoaded();
cy.byTestID(DataTestIDs.MetricsPageExpandCollapseRowButton).should('have.length', 1);
metricsPage.clickInsertExampleQuery();
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);

cy.log('6.2 Only one query added, resulting in 2 rows');
metricsPage.clickActionsAddQuery();
cy.byTestID(DataTestIDs.MetricsPageExpandCollapseRowButton).should('have.length', 2);
cy.byTestID(DataTestIDs.MetricsPageExpandCollapseRowButton).find('button').eq(0).should('have.attr', 'aria-expanded', 'true');
cy.byTestID(DataTestIDs.MetricsPageExpandCollapseRowButton).find('button').eq(1).should('have.attr', 'aria-expanded', 'true');
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.EXPRESSION_PRESS_SHIFT_ENTER_FOR_NEWLINES);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);

cy.log('6.3 Preparation to test Run Queries button');
cy.get(Classes.MetricsPageQueryInput).eq(0).should('be.visible').clear();
Expand All @@ -51,7 +51,7 @@ export function testMetricsRegressionNamespace2(perspective: PerspectiveConfig)
metricsPage.expandCollapseRowAssertion(false, 0, true, true);
metricsPage.expandCollapseRowAssertion(true, 1, true, true);
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.VECTOR_QUERY);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);
cy.byTestID(DataTestIDs.MetricGraph).scrollIntoView().should('be.visible');
metricsPage.clickKebabDropdown(0);
cy.get(Classes.MenuItemDisabled).contains(MetricsPageQueryKebabDropdown.HIDE_ALL_SERIES).should('be.visible');
Expand All @@ -64,7 +64,7 @@ export function testMetricsRegressionNamespace2(perspective: PerspectiveConfig)
metricsPage.expandCollapseRowAssertion(true, 0, true, true);
metricsPage.expandCollapseRowAssertion(true, 1, true, true);
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.VECTOR_QUERY);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);
cy.byTestID(DataTestIDs.MetricGraph).scrollIntoView().should('be.visible');
metricsPage.clickKebabDropdown(0);
cy.byTestID(DataTestIDs.MetricsPageHideShowAllSeriesDropdownItem).contains(MetricsPageQueryKebabDropdown.HIDE_ALL_SERIES).should('be.visible');
Expand All @@ -90,7 +90,7 @@ export function testMetricsRegressionNamespace2(perspective: PerspectiveConfig)
cy.byTestID(DataTestIDs.MetricsPageExportCsvDropdownItem).should('not.exist');
metricsPage.clickKebabDropdown(1);
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.VECTOR_QUERY);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);
cy.byTestID(DataTestIDs.MetricGraph).should('not.exist');
cy.byTestID(DataTestIDs.MetricsPageNoQueryEnteredTitle).should('be.visible');
cy.byTestID(DataTestIDs.MetricsPageNoQueryEntered).should('be.visible');
Expand All @@ -115,7 +115,7 @@ export function testMetricsRegressionNamespace2(perspective: PerspectiveConfig)
cy.byTestID(DataTestIDs.MetricsPageExportCsvDropdownItem).contains(MetricsPageQueryKebabDropdown.EXPORT_AS_CSV).should('be.visible');
metricsPage.clickKebabDropdown(1);
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.VECTOR_QUERY);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);
cy.byTestID(DataTestIDs.MetricGraph).scrollIntoView().should('be.visible');

cy.log('6.10 Kebab icon - Hide all series');
Expand Down Expand Up @@ -188,14 +188,14 @@ export function testMetricsRegressionNamespace2(perspective: PerspectiveConfig)
cy.byTestID(DataTestIDs.MetricsPageDeleteQueryDropdownItem).contains(MetricsPageQueryKebabDropdown.DELETE_QUERY).should('be.visible').click();
cy.byTestID(DataTestIDs.MetricsPageExpandCollapseRowButton).should('have.length', 1);
cy.byTestID(DataTestIDs.MetricsPageExpandCollapseRowButton).find('button').eq(0).should('have.attr', 'aria-expanded', 'true');
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);
cy.byTestID(DataTestIDs.MetricsPageSelectAllUnselectAllButton).should('have.length', 1);

cy.log('6.17 Kebab icon - Duplicate query');
metricsPage.clickKebabDropdown(0);
cy.byTestID(DataTestIDs.MetricsPageDuplicateQueryDropdownItem).contains(MetricsPageQueryKebabDropdown.DUPLICATE_QUERY).should('be.visible').click();
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY_NAMESPACE);
cy.get(Classes.MetricsPageQueryInput).eq(0).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);
cy.get(Classes.MetricsPageQueryInput).eq(1).should('contain', MetricsPageQueryInput.INSERT_EXAMPLE_QUERY);
cy.byTestID(DataTestIDs.MetricsPageExpandCollapseRowButton).should('have.length', 2);
metricsPage.expandCollapseRowAssertion(true, 1, true, true);
cy.byTestID(DataTestIDs.MetricsPageExpandCollapseRowButton).find('button').eq(0).should('have.attr', 'aria-expanded', 'true');
Expand Down Expand Up @@ -284,7 +284,8 @@ export function testMetricsRegressionNamespace2(perspective: PerspectiveConfig)
cy.byOUIAID(DataTestIDs.MetricsGraphAlertDanger).should('be.visible');
});

it(`${perspective.name} perspective - Metrics > Empty state`, () => {
//TODO remove skip when OU-1118 get answered/fixed
it.skip(`${perspective.name} perspective - Metrics > Empty state`, () => {
cy.log('11.1 Insert example query - Empty state');
cy.changeNamespace("default");
metricsPage.clickInsertExampleQuery();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { nav } from '../../views/nav';
import { legacyDashboardsPage } from '../../views/legacy-dashboards';
import { KUBERNETES_COMPUTE_RESOURCES_NAMESPACE_PODS_PANELS, LegacyDashboardsDashboardDropdownNamespace, MetricsPageQueryInputByNamespace, WatchdogAlert } from '../../fixtures/monitoring/constants';
import { KUBERNETES_COMPUTE_RESOURCES_NAMESPACE_PODS_PANELS, LegacyDashboardsDashboardDropdownNamespace, MetricsPageQueryInput, MetricsPageQueryInputByNamespace, WatchdogAlert } from '../../fixtures/monitoring/constants';
import { Classes, LegacyDashboardPageTestIDs, DataTestIDs } from '../../../src/components/data-test';
import { metricsPage } from '../../views/metrics';
import { alertingRuleDetailsPage } from '../../views/alerting-rule-details-page';
import { alerts } from '../../fixtures/monitoring/alert';
import { listPage } from '../../views/list-page';
import { commonPages } from '../../views/common';
import { guidedTour } from '../../views/tour';

export interface PerspectiveConfig {
name: string;
Expand Down Expand Up @@ -54,7 +53,6 @@ export function testLegacyDashboardsRegressionNamespace(perspective: Perspective

cy.log('2.2 Empty state');
cy.changeNamespace('default');
legacyDashboardsPage.shouldBeLoaded();
cy.byTestID(DataTestIDs.MetricGraphNoDatapointsFound).eq(0).scrollIntoView().should('be.visible');
legacyDashboardsPage.clickKebabDropdown(0);
cy.byTestID(LegacyDashboardPageTestIDs.ExportAsCsv).should('be.visible');
Expand All @@ -64,13 +62,6 @@ export function testLegacyDashboardsRegressionNamespace(perspective: Perspective

it(`${perspective.name} perspective - Dashboards (legacy) - No kebab dropdown`, () => {
cy.log('3.1 Single Stat - No kebab dropdown');
cy.visit('/');
guidedTour.close();
cy.validateLogin();
nav.sidenav.clickNavLink(['Observe', 'Dashboards']);
commonPages.titleShouldHaveText('Dashboards');
cy.changeNamespace('openshift-monitoring');
legacyDashboardsPage.shouldBeLoaded();
cy.byLegacyTestID('chart-1').find('[data-test="'+DataTestIDs.KebabDropdownButton+'"]').should('not.exist');

cy.log('3.2 Table - No kebab dropdown');
Expand Down
2 changes: 1 addition & 1 deletion web/cypress/views/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const commonPages = {
projectDropdownShouldExist: () => cy.byLegacyTestID('namespace-bar-dropdown').should('exist'),
titleShouldHaveText: (title: string) => {
cy.log('commonPages.titleShouldHaveText - ' + `${title}`);
cy.bySemanticElement('h1', title).scrollIntoView().should('be.visible');
cy.bySemanticElement('h1', title).should('be.visible');
},

linkShouldExist: (linkName: string) => {
Expand Down
Loading