Bump cockpit lib and test API to 265

Drop the obsolete expect_load().
This commit is contained in:
Martin Pitt 2022-03-17 08:41:31 +01:00 committed by Martin Pitt
parent e2d5995323
commit 2f92610f28
2 changed files with 2 additions and 3 deletions

View file

@ -159,14 +159,14 @@ bots:
# when you start a new project, use the latest release, and update it from time to time # when you start a new project, use the latest release, and update it from time to time
test/common: test/common:
flock Makefile sh -ec '\ flock Makefile sh -ec '\
git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 262; \ git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 265; \
git checkout --force FETCH_HEAD -- test/common; \ git checkout --force FETCH_HEAD -- test/common; \
git reset test/common' git reset test/common'
# checkout Cockpit's PF/React/build library; again this has no API stability guarantee, so check out a stable tag # checkout Cockpit's PF/React/build library; again this has no API stability guarantee, so check out a stable tag
$(LIB_TEST): $(LIB_TEST):
flock Makefile sh -ec '\ flock Makefile sh -ec '\
git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 262; \ git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 265; \
git checkout --force FETCH_HEAD -- pkg/lib; \ git checkout --force FETCH_HEAD -- pkg/lib; \
git reset -- pkg/lib' git reset -- pkg/lib'
mv pkg/lib src/ && rmdir -p pkg mv pkg/lib src/ && rmdir -p pkg

View file

@ -46,7 +46,6 @@ class TestApplication(testlib.MachineCase):
b.wait_popup('display-language-modal') b.wait_popup('display-language-modal')
b.click("#display-language-modal [data-value='de-de'] button") b.click("#display-language-modal [data-value='de-de'] button")
b.click("#display-language-modal button.pf-m-primary") b.click("#display-language-modal button.pf-m-primary")
b.expect_load()
# HACK: work around language switching in Chrome not working in current session (Cockpit issue #8160) # HACK: work around language switching in Chrome not working in current session (Cockpit issue #8160)
b.reload(ignore_cache=True) b.reload(ignore_cache=True)
b.wait_visible("#content") b.wait_visible("#content")