Yii Framework Forum: Keep logged in - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Keep logged in

#1 User is offline   robov 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 135
  • Joined: 15-December 15

Posted 27 August 2016 - 06:04 AM

I am new to codeception, and I am able to test some logged in pages.. however now I have a login procedure in every cept file. This slows down the test tremedously and ofcourse it does not look nice.

How can I login with the first cept file and the subsequent files use the logged in state ?
0

#2 User is offline   Dmitry Dorogin 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 03-July 17

Posted 04 July 2017 - 04:26 AM

You can your own base cept class with login before each test.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users