package.json: Update @patternfly/patternfly, @patternfly/react-core, @patternfly/react-icons, @patternfly/react-styles
Bump Cockpit commit to pick up the necessary adjustments for latest PF, and adjust test for the new "-v5" namespace prefix. Closes #654
This commit is contained in:
parent
e3a8c9d17c
commit
092cefab3b
3 changed files with 9 additions and 9 deletions
|
|
@ -22,16 +22,16 @@ class TestApplication(testlib.MachineCase):
|
|||
|
||||
self.login_and_go("/starter-kit")
|
||||
# verify expected heading
|
||||
b.wait_text(".pf-c-card__title", "Starter Kit")
|
||||
b.wait_text(".pf-v5-c-card__title", "Starter Kit")
|
||||
|
||||
# verify expected host name
|
||||
hostname = m.execute("cat /etc/hostname").strip()
|
||||
b.wait_in_text(".pf-c-alert__title", "Running on " + hostname)
|
||||
b.wait_in_text(".pf-v5-c-alert__title", "Running on " + hostname)
|
||||
|
||||
# change current hostname
|
||||
self.write_file("/etc/hostname", "new-" + hostname)
|
||||
# verify new hostname name
|
||||
b.wait_in_text(".pf-c-alert__title", "Running on new-" + hostname)
|
||||
b.wait_in_text(".pf-v5-c-alert__title", "Running on new-" + hostname)
|
||||
|
||||
# change language to German
|
||||
b.switch_to_top()
|
||||
|
|
@ -50,7 +50,7 @@ class TestApplication(testlib.MachineCase):
|
|||
b.go("/starter-kit")
|
||||
b.enter_page("/starter-kit")
|
||||
# page label (from js) should be translated
|
||||
b.wait_in_text(".pf-c-alert__title", "Läuft auf")
|
||||
b.wait_in_text(".pf-v5-c-alert__title", "Läuft auf")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue