Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tnrich committed Jun 28, 2024
1 parent d14a4f3 commit e57c469
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/ove/cypress/e2e/menuBar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ describe("menuBar", function () {
});
it(`should be able to change the amino acid color (by hydrophobicity or by family)`, () => {
cy.get(".tg-menu-bar").contains("View").click();
cy.get(`.veRowViewTranslationsContainer .D[fill="hsl(268.9, 100%, 69%)"]`);
cy.get(`.veRowViewTranslationsContainer .H[fill="hsl(272.2, 100%, 69%)"]`);
cy.get(`.veRowViewTranslationsContainer .S[fill="hsl(298.6, 100%, 69%)"]`);
cy.contains("Amino Acid Colors").click({ force: true });
cy.contains("Color By Family").click({ force: true });
cy.get(`.veRowViewTranslationsContainer .D[fill="#EE82EE"]`);
cy.get(`.veRowViewTranslationsContainer .H[fill="#FFC0CB"]`);
cy.get(`.veRowViewTranslationsContainer .S[fill="#90EE90"]`);
cy.contains("Color By Hydrophobicity").click({ force: true });
cy.get(`.veRowViewTranslationsContainer .D[fill="hsl(268.9, 100%, 69%)"]`);
cy.get(`.veRowViewTranslationsContainer .H[fill="hsl(272.2, 100%, 69%)"]`);
cy.get(`.veRowViewTranslationsContainer .S[fill="hsl(298.6, 100%, 69%)"]`);
});
it(`should be able to permanently change sequence case`, () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/ove/cypress/e2e/misc.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ describe("miscellaneous tests that do not fit other categories", () => {
cy.visit("");
cy.get("body").type("{meta}/");
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(100);
cy.focused()
cy.wait(200);
cy.get(`.tg-menu-bar-help-search input`)
.type("yyyyy{leftarrow}{leftarrow}{leftarrow}xxxx", { delay: 40 })
.should("have.value", "yyxxxxyyy");
});
Expand Down

0 comments on commit e57c469

Please sign in to comment.