1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix(template): app template v3 error [BE-11998] (#854)

This commit is contained in:
Oscar Zhou 2025-07-05 02:49:33 +12:00 committed by GitHub
parent 8ffe4e284a
commit c20a8b5a68
6 changed files with 21 additions and 19 deletions

View file

@ -80,10 +80,7 @@ test('The form should submit the correct request body for a given app template',
// fill in the name and select the docker edge group
const user = userEvent.setup();
await user.type(getByRole('textbox', { name: 'Name *' }), 'my-stack');
await user.type(
getByRole('textbox', { name: 'License key *' }),
'license-123'
);
await user.type(getByRole('textbox', { name: 'License key' }), 'license-123');
const selectElement = getByLabelText('Edge groups');
await selectEvent.select(selectElement, 'docker');