test: drop source-text assertion tests and merge locale checks
This commit is contained in:
1 parent
349d77d180
commit
8897e12714
257 files changed
+166
-12815
No files matched your search
@@ -135,15 +135,6 @@ describe("SshHostKeyPromptDialog web bridge", () => {
|
||||
expect(dialogSource).not.toContain(':dismissible="false"');
|
||||
});
|
||||
|
||||
it("stacks above dialogs that mount later than it does", () => {
|
||||
// Dialog portals teleport into <body> when their component mounts, so paint
|
||||
// order at the shared z-50 follows mount order. This prompt mounts once at
|
||||
// app start, so an on-demand dialog (e.g. the connection editor) would bury
|
||||
// it and block the whole window. It must opt out of the default layer.
|
||||
expect(dialogSource).toContain('overlay-class="z-[200]"');
|
||||
expect(dialogSource).toContain('portal-class="z-[200]"');
|
||||
});
|
||||
|
||||
it("keeps the prompt above a later body-mounted connection dialog and answerable", async () => {
|
||||
await mountDialog();
|
||||
|
||||
|
||||
Reference in new issue
Block a user