tests - update ansible role for swarm and replace profile with account for ui

This commit is contained in:
florian 2024-01-08 22:43:06 +01:00
parent 9d274afe2a
commit b7bc89aded
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500
3 changed files with 6 additions and 6 deletions

View file

@ -40,7 +40,7 @@ jobs:
run: pip install --no-cache-dir --require-hashes -r misc/requirements-ansible.txt
if: inputs.TYPE != 'k8s'
- name: Install ansible libs
run: ansible-galaxy install --timeout 120 monolithprojects.github_actions_runner,1.18.1 && ansible-galaxy collection install --timeout 120 community.general
run: ansible-galaxy install --timeout 120 monolithprojects.github_actions_runner,1.18.1 && ansible-galaxy collection install --timeout 120 community.general && ansible-galaxy collection install --timeout 120 community.docker
if: inputs.TYPE != 'k8s'
# Create infra
- run: ./tests/create.sh ${{ inputs.TYPE }}

View file

@ -29,7 +29,7 @@
extra_args:
- name: Init Docker Swarm
community.general.docker_swarm:
community.docker.docker_swarm:
advertise_addr: "{{ local_ip }}"
listen_addr: "{{ local_ip }}"
ssl_version: "1.3"
@ -47,7 +47,7 @@
join_token_worker: "{{ hostvars[groups['managers'][0]].result.swarm_facts.JoinTokens.Worker }}"
- name: Join Swarm as managers
community.general.docker_swarm:
community.docker.docker_swarm:
advertise_addr: "{{ local_ip }}"
listen_addr: "{{ local_ip }}"
ssl_version: "1.3"
@ -60,7 +60,7 @@
- inventory_hostname != groups['managers'][0]
- name: Join Swarm as workers
community.general.docker_swarm:
community.docker.docker_swarm:
advertise_addr: "{{ local_ip }}"
listen_addr: "{{ local_ip }}"
ssl_version: 1.3

View file

@ -1578,7 +1578,7 @@ location /hello {
password_input.send_keys("P@ssw0rd")
access_page(driver, driver_wait, "//button[@id='totp-button' and @class='valid-btn']", "profile")
access_page(driver, driver_wait, "//button[@id='totp-button' and @class='valid-btn']", "account")
assert_button_click(driver, "//button[@data-tab-handler='totp']")
@ -1656,7 +1656,7 @@ location /hello {
driver,
driver_wait,
"//button[@id='totp-button' and @class='delete-btn']",
"profile",
"account",
)
assert_button_click(driver, "//button[@data-tab-handler='totp']")