Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Manvel committed Jun 8, 2024
1 parent 2ebf898 commit e9aae0c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
12 changes: 6 additions & 6 deletions tests/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
*/

const tests = [
{file:"play.js", name: "Testing actions"},
{file:"record.js", name: "Testing recording"},
{file:"generic.js", name: "Running generic Tests"},
// {file:"play.js", name: "Testing actions"},
// {file:"record.js", name: "Testing recording"},
// {file:"generic.js", name: "Running generic Tests"},
{file:"popup.js", name: "Testing popup"},
{file:"options.js", name: "Testing options page generic functionality"},
{file:"import-export.js", name: "Testing Import and Export in options page"},
{file:"functions.js", name: "Testing functions tab in options page"},
// {file:"options.js", name: "Testing options page generic functionality"},
// {file:"import-export.js", name: "Testing Import and Export in options page"},
// {file:"functions.js", name: "Testing functions tab in options page"},
];

const server = "http://127.0.0.1:3001";
Expand Down
6 changes: 5 additions & 1 deletion tests/tests/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,13 +546,17 @@ it("When paused play button becomes 'resume', when clicked resumes playback", as
equal((await getSelectedRow(cbaTableQuery)).id, "cba-table-id-1");
});

it("Setting repeate should repeate the project, specified amount of times", async() =>
it.only("Setting repeate should repeate the project, specified amount of times", async() =>
{
await setValue("#repeat", 2);
await addEmptyActions(3);
await wait(150);
await updateSpecificAction("cba-table-id-1", "", "timer", "100");
await wait(150);
await updateSpecificAction("cba-table-id-2", "", "timer", "100");
await wait(150);
await updateSpecificAction("cba-table-id-3", "", "timer", "100");
await wait(150);

await clickPlay();
await wait(140);
Expand Down

0 comments on commit e9aae0c

Please sign in to comment.