Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mui #865

Merged
merged 2 commits into from
Dec 5, 2023
Merged
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
8 changes: 4 additions & 4 deletions src/client/cypress/e2e/editor/fieldMeasurement.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("Tests for the field measurement editor.", () => {

// fill reliability dropdown
cy.get('[data-cy="reliability-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand All @@ -57,7 +57,7 @@ describe("Tests for the field measurement editor.", () => {

// fill sample type dropdown
cy.get('[data-cy="sample-type-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand All @@ -67,7 +67,7 @@ describe("Tests for the field measurement editor.", () => {

// fill parameter dropdown
cy.get('[data-cy="parameter-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand All @@ -91,7 +91,7 @@ describe("Tests for the field measurement editor.", () => {

// fill sample type dropdown
cy.get('[data-cy="sample-type-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("Tests for the groundwater level measurement editor.", () => {

// fill kind dropdown
cy.get('[data-cy="kind-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand All @@ -54,7 +54,7 @@ describe("Tests for the groundwater level measurement editor.", () => {

// fill reliability dropdown
cy.get('[data-cy="reliability-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand Down Expand Up @@ -83,7 +83,7 @@ describe("Tests for the groundwater level measurement editor.", () => {

// change kind dropdown
cy.get('[data-cy="kind-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand Down
2 changes: 1 addition & 1 deletion src/client/cypress/e2e/editor/hydrotest.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { createBorehole, adminUserAuth, login } from "../testHelpers";

const openDropdown = dataCy => {
cy.get(`[data-cy="${dataCy}"]`)
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });
};

Expand Down
4 changes: 2 additions & 2 deletions src/client/cypress/e2e/editor/lithologicalDescription.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe("Tests for the lithological description column.", () => {

// fill quality dropdown
cy.get('[data-cy="qt-decription-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand All @@ -83,7 +83,7 @@ describe("Tests for the lithological description column.", () => {

// fill to depth dropdown
cy.get('[data-cy="to-depth-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand Down
8 changes: 4 additions & 4 deletions src/client/cypress/e2e/editor/waterIngress.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe("Tests for the wateringress editor.", () => {

// fill quantity dropdown
cy.get('[data-cy="quantity-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand All @@ -52,7 +52,7 @@ describe("Tests for the wateringress editor.", () => {

// fill conditions dropdown
cy.get('[data-cy="conditions-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand All @@ -62,7 +62,7 @@ describe("Tests for the wateringress editor.", () => {

// fill reliability dropdown
cy.get('[data-cy="reliability-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand All @@ -86,7 +86,7 @@ describe("Tests for the wateringress editor.", () => {

// change quantity dropdown
cy.get('[data-cy="quantity-select"]')
.find('[role="button"]')
.find('[role="combobox"]')
.click({ force: true });

cy.get('.MuiPaper-elevation [role="listbox"]')
Expand Down
Loading