mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
Point the Draw and layer panel gates at Utilities and at what is drawn
qa-draw-tool drives the rows, waits on a mark's state instead of fixed sleeps, checks that fly-to centres the line, and compares two screenshots to show a hidden Line's pixels go and come back. Its clicks and pixel clip stay clear of the Utilities panel beside the left rail. qa-layer-panel checks that Directions returns to the Utilities list after a reassembly.
This commit is contained in:
1 parent
e35483d37d
commit
345d5db593
2 files changed
+134
-15
No files matched your search
@@ -126,6 +126,14 @@ try {
|
||||
'ordinary layer rows return after reassembly',
|
||||
container.querySelectorAll('.data-toggle-row').length > 10,
|
||||
]);
|
||||
result.push([
|
||||
'Directions returns to the Utilities list after reassembly',
|
||||
Boolean(
|
||||
document.querySelector(
|
||||
'#utilities-toggles [data-layer-id="directions"]',
|
||||
) && !container.querySelector('[data-layer-id="directions"]'),
|
||||
),
|
||||
]);
|
||||
return result;
|
||||
});
|
||||
for (const [name, passed] of results) check(name, passed);
|
||||
|
||||
Reference in new issue
Block a user