Lines 645-650
describe("Trains", () => {
Link Here
|
645 |
cy.get("main div[class='dialog alert modal']").contains( |
645 |
cy.get("main div[class='dialog alert modal']").contains( |
646 |
"2 new items added. 1 items not found." |
646 |
"2 new items added. 1 items not found." |
647 |
); |
647 |
); |
|
|
648 |
cy.get("#close_modal").click(); |
648 |
cy.contains("Add last 2 items to a train").click(); |
649 |
cy.contains("Add last 2 items to a train").click(); |
649 |
cy.get("#train_id .vs__search").type(train.name + "{enter}"); |
650 |
cy.get("#train_id .vs__search").type(train.name + "{enter}"); |
650 |
cy.intercept("GET", "/api/v1/items*", { |
651 |
cy.intercept("GET", "/api/v1/items*", { |
651 |
- |
|
|