Skip to content

Commit

Permalink
refactor(smoke): Fix for a test that passed on Oss and failed on Saas (
Browse files Browse the repository at this point in the history
  • Loading branch information
kkorchak authored Oct 31, 2023
1 parent 2e8954f commit b8dcc86
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("download lineage results to .csv file", () => {
cy.openEntityTab("Lineage");

// Verify 1st degree of dependencies
cy.contains(/1 - 3 of 3/);
cy.contains(/1 - [3-4] of [3-4]/);
downloadCsvFile("first_degree_results.csv");
let first_degree_csv = cy.readFile('cypress/downloads/first_degree_results.csv');
first_degree.forEach(function (urn) {
Expand All @@ -52,7 +52,7 @@ describe("download lineage results to .csv file", () => {

// Verify 1st and 2nd degree of dependencies
cy.get('[data-testid="facet-degree-2"]').click().wait(5000);
cy.contains(/1 - 7 of 7/);
cy.contains(/1 - [7-8] of [7-8]/);
downloadCsvFile("second_degree_results.csv");
let second_degree_csv = cy.readFile('cypress/downloads/second_degree_results.csv');
first_degree.forEach(function (urn) {
Expand All @@ -67,7 +67,7 @@ describe("download lineage results to .csv file", () => {

// Verify 1st 2nd and 3+ degree of dependencies(Verify multi page download)
cy.get('[data-testid="facet-degree-3+"]').click().wait(5000);
cy.contains(/1 - 10 of 13/);
cy.contains(/1 - 10 of 1[3-4]/);
downloadCsvFile("third_plus_degree_results.csv");
let third_degree_csv = cy.readFile('cypress/downloads/third_plus_degree_results.csv');
first_degree.forEach(function (urn) {
Expand Down

0 comments on commit b8dcc86

Please sign in to comment.