⏱️ Duration: 29.89s
❌ Error:
self = <tests.test_autopilot.TestAutopilot object at 0x7f85a31a6800>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7f85a32aabf0>
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7f85a32aa110>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7f85a32aa440>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_a07_free_user_has_no_brand_options_in_wizard(
self, autopilot_page, sign_up_page, my_account_page, base_url
):
"""
A07 Free user does not see my brand or logo options in the autopilot wizard
Feature scenario:
When I create a new account
And I continue without a website (autopilot wizard landing)
Then I verify if there is no option to add brand
When I open the settings page
Then I delete my account
"""
random_email = f"promo.auto.a07.{uuid.uuid4().hex[:8]}@promo.com"
sign_up_page.create_account(
base_url=base_url,
email=random_email,
full_name=fullname,
password=random_password,
)
autopilot_page.go_to_autopilot_wizard(base_url)
autopilot_page.click_continue_without_website()
autopilot_page.assert_brands_dropdown_not_visible()
my_account_page.go_to_my_account_direct(base_url)
> my_account_page.delete_account(random_password)
tests/test_autopilot.py:363:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/my_account_page.py:94: in delete_account
settings.locator(self.DELETE_ACCOUNT_BTN).click()
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:17876: in click
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:165: in click
return await self._frame._click(self._selector, strict=True, **params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:593: in _click
await self._channel
📸 Failure Screenshot: