redirecter for ao3 that adds opengraph metadata
at main 504 B view raw
1describe('Navigation', () => { 2 it('should navigate to the generator page', () => { 3 // Start from the index page 4 cy.visit('http://localhost:3001') 5 6 // Find a link with an href attribute containing "generator" and click it 7 cy.get('a[href*="/generator"]').click() 8 9 // The new url should include "/generator" 10 cy.url().should('include', '/generator') 11 12 // The new page should contain an form with the ID "geerator" 13 cy.get('form').should('have.id', 'generator') 14 15 }) 16})