mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 18:47:15 -07:00
Fixed the test
This commit is contained in:
parent
31c2f5514b
commit
49259317d8
1 changed files with 4 additions and 3 deletions
|
@ -123,17 +123,18 @@ describe("TV Requests Grid", function () {
|
|||
cy.verifyNotification('You need to select some episodes!');
|
||||
});
|
||||
|
||||
it("Request single episodes", () => {
|
||||
it.only("Request single episodes", () => {
|
||||
cy.visit("/details/tv/121361");
|
||||
const episodeCheckbox = 'episodeCheckbox11';
|
||||
const episodeCheckbox = 'episodeCheckbox21';
|
||||
|
||||
cy.getByData("classStatus2").click();
|
||||
cy.getByData(episodeCheckbox).click();
|
||||
cy.get('#addFabBtn').click();
|
||||
cy.get('#requestSelected').click();
|
||||
|
||||
cy.verifyNotification('Request for Game of Thrones has been added successfully');
|
||||
|
||||
cy.getByData('episodeStatus11')
|
||||
cy.getByData('episodeStatus21')
|
||||
.should('contain.text', 'Pending Approval')
|
||||
.should('have.class', 'requested')
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue