use older ubuntu for e2e test, lint

This commit is contained in:
einhornimmond 2024-12-20 13:08:34 +01:00
parent ede03978b5
commit 8efbcb8e7e
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ on: push
jobs:
end-to-end-tests:
name: End-to-End Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3

View File

@ -74,7 +74,7 @@ const labelFor = computed(() => `${props.name}-input-field`)
</script>
<style>
div#username_form > div > label {
div#username-form > div > label {
margin-bottom: 8px;
}
</style>

View File

@ -103,7 +103,7 @@ describe('UserName Form', () => {
describe('when no username is set', () => {
it('renders the component', () => {
expect(wrapper.find('div#username_form').exists()).toBe(true)
expect(wrapper.find('div#username-form').exists()).toBe(true)
})
it('displays the no-username alert', () => {

View File

@ -1,5 +1,5 @@
<template>
<div id="username_form">
<div id="username-form">
<div v-if="store.state.username">
<label>{{ $t('form.username') }}</label>
<BFormGroup