Skip to content

Commit

Permalink
test: try to fix CI issue (#695)
Browse files Browse the repository at this point in the history
* test: try to fix CI issue

* test: remove the fix

* just trigger new CI run

* test: add command to help debug
  • Loading branch information
fterra-encora authored Dec 28, 2023
1 parent 0dd8bf2 commit 2d421dd
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ describe("<ContactGroupComponent />", () => {
const onValid = (valid: boolean) => {
calls.push(valid);
};

// Trying to fix issue on the CI pipeline.
// cy.wait(200);

cy.get("@contactFixture").then((contact: Contact) => {
cy.get("@rolesFixture").then((roles) => {
cy.get("@addressesFixture").then((addresses) => {
Expand Down Expand Up @@ -318,7 +322,10 @@ describe("<ContactGroupComponent />", () => {
});
});

cy.focused().should('have.id', 'firstName_1');
// Debugging issue on CI.
cy.get("#firstName_1");

cy.focused().should("have.id", "firstName_1");
cy.get(fieldSelector).shadow().find("input").clear(); // emits false
cy.get(fieldSelector).blur(); // (doesn't emit)
cy.get(fieldSelector).shadow().find("input").type(firstContent); // emits true before blurring
Expand Down

0 comments on commit 2d421dd

Please sign in to comment.