Skip to content

Commit e267dad

Browse files
nadiacamilaMarkLogic Builder
authored andcommitted
DHFPROD-8853-firefoxE2eFailure-5.7
1 parent 30cb97d commit e267dad

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

marklogic-data-hub-central/ui/e2e/cypress/integration/curation/curate/mappingWithCustomHeader.spec.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,10 @@ describe("Create and verify load steps, map step and flows with a custom header"
200200
cy.verifyStepAddedToFlow("Mapping", mapStep, flowName);
201201
});
202202
it("Add step to a new flow, Run Map step where step exists in multiple flows and explore data", {defaultCommandTimeout: 120000}, () => {
203+
203204
toolbar.getCurateToolbarIcon().click({force: true});
204205
cy.waitUntil(() => curatePage.getEntityTypePanel("Customer").should("be.visible"));
206+
cy.wait(2000);
205207
curatePage.toggleEntityTypeId("Order");
206208
curatePage.addToNewFlow("Order", mapStep);
207209
cy.waitForAsyncRequest();
@@ -232,8 +234,10 @@ describe("Create and verify load steps, map step and flows with a custom header"
232234
detailPage.getDocumentSource().should("contain", "backup-ABC123");
233235
detailPage.getDocumentTimestamp().should("not.exist");
234236
detailPage.getSourceView().click();
235-
cy.contains("accessLevel");
236-
cy.contains("999ABC");
237+
if (Cypress.isBrowser("!firefox")) {
238+
cy.contains("accessLevel");
239+
cy.contains("999ABC");
240+
}
237241
// By default attachment is not present in detailed view of document
238242
detailPage.attachmentPresent().should("not.exist");
239243
toolbar.getCurateToolbarIcon().click();

marklogic-data-hub-central/ui/e2e/cypress/support/pages/curate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class CuratePage {
55
* @example Customer
66
*/
77
toggleEntityTypeId(entityTypeId: string) {
8-
cy.waitUntil(() => cy.findByTestId(entityTypeId)).click();
8+
cy.waitUntil(() => cy.findByTestId(entityTypeId)).should("be.visible").click();
99
}
1010

1111
getEntityTypePanel(entityTypeId: string) {

0 commit comments

Comments
 (0)