diff --git a/.gitignore b/.gitignore index 68327a5af..9aeab02f8 100644 --- a/.gitignore +++ b/.gitignore @@ -47,7 +47,10 @@ geckodriver.log tests/cypress/screenshots tests/cypress/videos tests/screenshots -tests/unit/utils/md/data/output.html +tests/unit/utils/markdown/data/output.html +coverage/ +tests/playwright/test-results +playwright-report # Instance files that should not be checked-in instance/development.py diff --git a/funnel/templates/account.html.jinja2 b/funnel/templates/account.html.jinja2 index 90e0bd2c1..e43d9431c 100644 --- a/funnel/templates/account.html.jinja2 +++ b/funnel/templates/account.html.jinja2 @@ -33,11 +33,11 @@

@{{ current_auth.user.username }}

{% else %}

- {{ faicon(icon='info-circle', icon_size='body2', baseline=true) }} {% trans %}Add username{% endtrans %} {{ faicon(icon='plus', icon_size='caption', baseline=false) }} + {{ faicon(icon='info-circle', icon_size='body2', baseline=true) }} {% trans %}Add username{% endtrans %} {{ faicon(icon='plus', icon_size='caption', baseline=false) }}

{%- endif %} {%- trans %}Go to account{% endtrans %} {{ faicon(icon='arrow-right', icon_size='caption', baseline=false) }} @@ -91,7 +91,7 @@ href="{{ url_for('account_edit') }}">{% trans %}Edit{% endtrans %} + data-testid="change-password"> {% if user_has_password %} {% trans %}Change password{% endtrans %} {% else %} @@ -100,7 +100,7 @@ @@ -202,7 +202,7 @@ {% endif %} {% trans %}Add an email address{% endtrans %} + href="{{ url_for('add_email') }}" data-testid="add-new-email">{% trans %}Add an email address{% endtrans %} @@ -253,7 +253,7 @@ {% endif %} {% trans %}Add a mobile number{% endtrans %} + href="{{ url_for('add_phone') }}" data-testid="add-new-phone">{% trans %}Add a mobile number{% endtrans %} @@ -386,7 +386,7 @@
diff --git a/funnel/templates/account_formlayout.html.jinja2 b/funnel/templates/account_formlayout.html.jinja2 index 48b894c70..8facf9898 100644 --- a/funnel/templates/account_formlayout.html.jinja2 +++ b/funnel/templates/account_formlayout.html.jinja2 @@ -23,7 +23,7 @@

{% trans %}Cookies are required to login. Please enable cookies in your browser’s settings and reload this page{% endtrans %}

-
+