Bug 35392: Use the same selector as everywhere else for .message
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
57802a3869
commit
37a992365c
1 changed files with 6 additions and 9 deletions
|
@ -636,9 +636,8 @@ describe("Data provider tab options", () => {
|
|||
|
||||
cy.get("#files > form > fieldset > input[type=submit]").click();
|
||||
|
||||
cy.get(
|
||||
"#erm > div > div.main.container-fluid > div > div.col-sm-10.col-sm-push-2 > main > div.dialog.message > li"
|
||||
).contains(
|
||||
cy.get("main div[class='dialog message']").should(
|
||||
"have.text",
|
||||
"Job for uploaded file has been queued. Check job progress."
|
||||
);
|
||||
});
|
||||
|
@ -742,9 +741,8 @@ describe("Data providers action buttons", () => {
|
|||
cy.get(".dayContainer").contains(new RegExp("^1$")).click();
|
||||
});
|
||||
cy.get("#accept_modal").click();
|
||||
cy.get(
|
||||
"#erm > div > div.main.container-fluid > div > div.col-sm-10.col-sm-push-2 > main > div.dialog.message > li"
|
||||
).contains(
|
||||
cy.get("main div[class='dialog message']").should(
|
||||
"have.text",
|
||||
"Job for report type TR_J1 has been queued. Check job progress."
|
||||
);
|
||||
});
|
||||
|
@ -780,9 +778,8 @@ describe("Data providers action buttons", () => {
|
|||
.contains("Test")
|
||||
.click();
|
||||
cy.wait("@test-connection");
|
||||
cy.get(
|
||||
"#erm > div > div.main.container-fluid > div > div.col-sm-10.col-sm-push-2 > main > div.dialog.message"
|
||||
).contains(
|
||||
cy.get("main div[class='dialog message']").should(
|
||||
"have.text",
|
||||
"Harvester connection was successful for usage data provider " +
|
||||
dataProvider.name
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue