From 06e9163a609a33100608207a0c9ca575e22907d0 Mon Sep 17 00:00:00 2001 From: jordi-bisbal Date: Fri, 17 Nov 2023 16:27:50 +0100 Subject: [PATCH] Added skipping line + renamed event --- src/loadgenerator/locustfile.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/loadgenerator/locustfile.py b/src/loadgenerator/locustfile.py index 42f4c7312a..c5aac08b2b 100644 --- a/src/loadgenerator/locustfile.py +++ b/src/loadgenerator/locustfile.py @@ -156,8 +156,9 @@ async def open_home_browser_page(self, page: PageWithRetry): try: async with event(self, "Load up Astronomy Shop home page"): await page.goto("/") - async with event(self, "Click on a button"): + async with event(self, "Click on Go Shopping button"): async with page.expect_navigation(wait_until="domcontentloaded"): await page.click('button:has-text("Go Shopping")') except: - pass \ No newline at end of file + pass +