Guest User

Untitled

a guest
Dec 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. before(async() => {
  2.  
  3. const jwt = await createJWT();
  4.  
  5. });
  6.  
  7. describe('My other tests', () => {
  8. it('Customer sign up', async() => {
  9. const signUpText = await customerSignUp(page, frame);
  10.  
  11. expect(signUpText).to.equal("You have signed up")
  12. });
  13. });
  14.  
  15. describe('My other tests', () => {
  16. before(async() => {
  17.  
  18. const jwt = await createJWT();
  19.  
  20. });
  21. it('Customer sign up', async() => {
  22. const signUpText = await customerSignUp(page, frame);
  23.  
  24. expect(signUpText).to.equal("You have signed up")
  25. });
  26. });
Add Comment
Please, Sign In to add comment