зеркало из https://github.com/mozilla/bedrock.git
Родитель
2ea351eae4
Коммит
3f03ddea43
|
@ -54,7 +54,7 @@
|
|||
it away.
|
||||
</p>
|
||||
|
||||
<a href="https://monitor.mozilla.org/?utm_medium=firefox-desktop&utm_source=whatsnew&utm_campaign=welcome-page124&utm_content=v2-us" class="wnp-main-cta mzp-c-button mzp-t-product" data-cta-text="Start with a free scan" data-cta-type="button" target="_blank" rel="noopener">
|
||||
<a href="https://monitor.mozilla.org/?utm_medium=firefox-desktop&utm_source=whatsnew&utm_campaign=whatsnew-page124&utm_content=v2-us" class="wnp-main-cta mzp-c-button mzp-t-product" data-cta-text="Start with a free scan" data-cta-type="button" target="_blank" rel="noopener">
|
||||
Start with a free scan
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -58,7 +58,8 @@
|
|||
it away.
|
||||
</p>
|
||||
|
||||
<a href="https://monitor.mozilla.org/?utm_medium=firefox-desktop&utm_source=whatsnew&utm_campaign=welcome-page124&utm_content=v1-us" class="wnp-main-cta mzp-c-button mzp-t-product" data-cta-text="Start with a free scan" data-cta-type="button" target="_blank" rel="noopener">
|
||||
{% set utm_content = 'v1-us' if variant == '1' else 'us' %}
|
||||
<a href="https://monitor.mozilla.org/?utm_medium=firefox-desktop&utm_source=whatsnew&utm_campaign=whatsnew-page124&utm_content={{ utm_content }}" class="wnp-main-cta mzp-c-button mzp-t-product" data-cta-text="Start with a free scan" data-cta-type="button" target="_blank" rel="noopener">
|
||||
Start with a free scan
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@ from pages.firefox.whatsnew.whatsnew_124 import FirefoxWhatsNew124Page
|
|||
|
||||
@pytest.mark.skip_if_not_firefox(reason="Whatsnew pages are shown to Firefox only.")
|
||||
@pytest.mark.nondestructive
|
||||
@pytest.mark.parametrize("params", [("?v=1"), ("?v=2")])
|
||||
@pytest.mark.parametrize("params", [("?v=1&geo=us"), ("?v=2&geo=us")])
|
||||
def test_monitor_free_scan_button_displayed(params, base_url, selenium):
|
||||
page = FirefoxWhatsNew124Page(selenium, base_url, params=params).open()
|
||||
assert page.is_monitor_free_scan_button_displayed
|
||||
|
|
Загрузка…
Ссылка в новой задаче