test: translate button label (#34700)
This commit is contained in:
parent
0be60be5dd
commit
e2d2af4628
1 changed files with 5 additions and 1 deletions
|
|
@ -40,7 +40,11 @@ context("Web Form", () => {
|
|||
cy.url().should("include", "/note/new");
|
||||
|
||||
cy.fill_field("title", "Guest Note 1");
|
||||
cy.get(".web-form-actions button").contains("Save").click();
|
||||
cy.window()
|
||||
.its("__")
|
||||
.then((__) => {
|
||||
cy.get(".web-form-actions button").contains(__("Save")).click();
|
||||
});
|
||||
|
||||
cy.url().should("include", "/note/new");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue