Tests: #185 sales and repair run as standing orders; batches open from the Ops sheet

This commit is contained in:
Frederic Jung 2026-10-28 17:46:16 +01:00
parent 4717bc0f75
commit 08413b53a3
No known key found for this signature in database
3 changed files with 56 additions and 196 deletions

View file

@ -89,11 +89,12 @@ test('bulk peering skips disconnected IXs, route server coverage and existing do
assert.deepEqual(errors, []);
});
test('utilities are available from the menu and PoP Infra in every language', t => {
test('utilities are available from the Ops sheet in the menu and from PoP Infra in every language', t => {
for (const lang of ['en', 'it', 'pt', 'fr', 'es']) {
const { ev, dom, errors } = setup(t, lang === 'en' ? {} : { lang });
ev('ACT.menu()');
assert.ok(dom.window.document.querySelector('[data-act="utilities"]'), lang);
dom.window.document.querySelector('#modalCard [data-act="opsOpen"]').click();
assert.ok(dom.window.document.querySelector('#modalCard [data-act="utilities"]'), lang);
ev("selectCity('fra');ACT.tab({t:'links'})");
assert.ok(dom.window.document.querySelector('#panelBody [data-act="utilityKit"]'), lang);
ev('ACT.utilities()');