SHARE
TWEET

Untitled

a guest Dec 11th, 2018 37 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. beforeEach(() => {
  2.     cy.visit('http://localhost:4200/');
  3.     loginPage.login();
  4.     timeFilter.button.click();
  5.     cy.get('#title').invoke('text').as('text');
  6.   });
  7.  
  8.   it('should show text', () => {
  9.     console.log(this.text);
  10.   });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top