MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / run

Method run

monitoring/e2e_auth_flow.py:204–246  ·  view source on GitHub ↗

Run the full auth flow test.

(self)

Source from the content-addressed store, hash-verified

202 return False
203
204 def run(self) -> bool:
205 """Run the full auth flow test."""
206 logger.info(f"Starting E2E Auth Flow Test against {self.base_url}")
207 logger.info(f"Test email: {self.test_email}")
208
209 all_passed = True
210
211 # Step 1: Signup
212 if not self.step_signup():
213 all_passed = False
214 return all_passed
215
216 # Verify logged in after signup
217 if not self.step_verify_logged_in():
218 all_passed = False
219
220 # Step 2: Logout
221 if not self.step_logout():
222 all_passed = False
223
224 # Verify logged out
225 if not self.step_verify_logged_out():
226 all_passed = False
227
228 # Step 3: Login
229 if not self.step_login():
230 all_passed = False
231 # Try to clean up by deleting account anyway
232 self.step_delete_account()
233 return all_passed
234
235 # Step 4: Access account
236 if not self.step_access_account():
237 all_passed = False
238
239 # Step 5: Delete account
240 if not self.step_delete_account():
241 all_passed = False
242
243 # Verify deleted
244 self.step_verify_deleted()
245
246 return all_passed
247
248 def get_summary(self) -> dict:
249 """Get test summary."""

Callers 15

mainFunction · 0.95
main.pyFile · 0.80
delete_customer.pyFile · 0.80
uFunction · 0.80
erFunction · 0.80
iFunction · 0.80
kbFunction · 0.80
uFunction · 0.80
erFunction · 0.80
jasmine.jsFile · 0.80
nextFunction · 0.80

Calls 8

step_signupMethod · 0.95
step_verify_logged_inMethod · 0.95
step_logoutMethod · 0.95
step_loginMethod · 0.95
step_delete_accountMethod · 0.95
step_access_accountMethod · 0.95
step_verify_deletedMethod · 0.95

Tested by 1

transcribe_fileFunction · 0.64