mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 18:47:15 -07:00
Small fixes
This commit is contained in:
parent
47d14e81d0
commit
59106dca0f
8 changed files with 27 additions and 18 deletions
|
@ -129,7 +129,7 @@ describe("TV Requests Grid", function () {
|
|||
cy.verifyNotification('You need to select some episodes!');
|
||||
});
|
||||
|
||||
it("Request single episodes", () => {
|
||||
it.only("Request single episodes", () => {
|
||||
Page.visit('1399');
|
||||
|
||||
Page.requestPanel.seasonTab(2).click();
|
||||
|
@ -142,6 +142,12 @@ describe("TV Requests Grid", function () {
|
|||
Page.requestPanel.getEpisodeStatus(2,1)
|
||||
.should('contain.text', 'Pending Approval')
|
||||
.should('have.class', 'requested')
|
||||
|
||||
Page.requestPanel.getEpisodeStatus(2).each((element) => {
|
||||
if (element.attr('data-test') !== 'episodeStatus21') {
|
||||
expect(element.hasClass("requested")).to.be.false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue