-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into generic-index-page-CMS-180
- Loading branch information
Showing
8 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
{% extends "templates/base_page.html" %} | ||
{% block header_area %} | ||
<div class="ons-container"> | ||
<h1 class="ons-u-fs-3xl common-header__heading"> | ||
{{ page.title }} | ||
</h1> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from behave import then # pylint: disable=no-name-in-module | ||
from behave.runner import Context | ||
from playwright.sync_api import expect | ||
|
||
|
||
@then("they cannot see the breadcrumbs") | ||
def user_does_not_see_breadcrumbs_on_the_page(context: Context) -> None: | ||
expect(context.page.get_by_label("Breadcrumbs")).not_to_be_visible() | ||
|
||
|
||
@then("the user can see the breadcrumbs") | ||
def user_does_see_breadcrumbs_on_the_page(context: Context) -> None: | ||
expect(context.page.get_by_label("Breadcrumbs")).to_be_visible() |