small improvements to fix flaky tests (#4970) [skip ci]

This commit is contained in:
Jamie 2023-06-20 09:38:04 +01:00 committed by GitHub
commit 5f60950802
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 5 deletions

View file

@ -73,6 +73,9 @@ describe("TV Details Buttons", () => {
cy.visit("/details/tv/1399");
cy.wait('@issuesEnabled');
cy.waitUntil(() => {
return Page.reportIssueButton.should("be.visible");
});
Page.reportIssueButton.should('be.visible');
});

View file

@ -199,7 +199,7 @@ describe("Discover Recently Requested Tests", () => {
});
});
it.only("Approve Requested Tv Show", () => {
it("Approve Requested Tv Show", () => {
cy.requestAllTv(71712);

View file

@ -18,7 +18,6 @@ langs.forEach((l) => {
Page.profile.languageSelectBox.click();
Page.profile.languageSelectBoxOption(l.code).click();
Page.navbar.discover.contains(l.discover);
cy.wait('@langSave').then((intercept) => {