Skip to content

Commit

Permalink
Make test title copying grep-friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
bearfriend committed Jul 27, 2023
1 parent 34706a2 commit 353b382
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/server/pause.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ const controls = `
overflow: hidden;
}
#d2l-test-controls #test-name .title-sep {
-webkit-user-select: none;
user-select: none;
}
#d2l-test-controls #root-name {
font-size: .7em;
overflow: hidden;
Expand Down Expand Up @@ -183,7 +188,7 @@ beforeEach(async function() {
await fixture;

const titlePath = currentTest.titlePath();
testName.innerText = testName.title = titlePath.slice(1).join(' > ');
testName.innerHTML = testName.title = titlePath.slice(1).join('<span class="title-sep"> ></span> ')

Check failure on line 191 in src/server/pause.js

View workflow job for this annotation

GitHub Actions / Test

Missing semicolon
rootName.innerText = titlePath[0];

if (test.pause) {
Expand Down

0 comments on commit 353b382

Please sign in to comment.