mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
* feat(perms): add new permission for viewing recently added media * test: update login test to check for Trending instead of Recently Added * fix: avoid conflict with new watchlist perms
14 lines
388 B
TypeScript
14 lines
388 B
TypeScript
describe('Login Page', () => {
|
|
it('succesfully logs in as an admin', () => {
|
|
cy.login(Cypress.env('ADMIN_EMAIL'), Cypress.env('ADMIN_PASSWORD'));
|
|
cy.visit('/');
|
|
cy.contains('Trending');
|
|
});
|
|
|
|
it('succesfully logs in as a local user', () => {
|
|
cy.login(Cypress.env('USER_EMAIL'), Cypress.env('USER_PASSWORD'));
|
|
cy.visit('/');
|
|
cy.contains('Trending');
|
|
});
|
|
});
|