mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-24 06:55:23 -07:00
test
This commit is contained in:
parent
a3688b6ad7
commit
d29c43457e
1 changed files with 3 additions and 3 deletions
|
@ -85,7 +85,7 @@ describe('Movie Details Buttons', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it.only('Movie Requested, mark as available', () => {
|
it('Movie Requested, mark as available', () => {
|
||||||
cy.login();
|
cy.login();
|
||||||
|
|
||||||
Page.visit('12444');
|
Page.visit('12444');
|
||||||
|
@ -95,10 +95,10 @@ describe('Movie Details Buttons', () => {
|
||||||
Page.adminOptionsDialog.requestButton.click();
|
Page.adminOptionsDialog.requestButton.click();
|
||||||
cy.verifyNotification('Request for Harry Potter and the Deathly Hallows: Part 1 has been added successfully');
|
cy.verifyNotification('Request for Harry Potter and the Deathly Hallows: Part 1 has been added successfully');
|
||||||
|
|
||||||
cy.intercept('GET', '**/Request/movie/info/**').as('requestCall');
|
cy.intercept('GET', '**/Images/banner/movie/**').as('bannerLoad');
|
||||||
cy.reload();
|
cy.reload();
|
||||||
|
|
||||||
cy.wait('@requestCall').then((__) => {
|
cy.wait('@bannerLoad').then((__) => {
|
||||||
Page.markAvailableButton.should('exist');
|
Page.markAvailableButton.should('exist');
|
||||||
Page.markAvailableButton.click();
|
Page.markAvailableButton.click();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue