diff --git a/tests/config.js b/tests/config.js index 2882a75..9b80632 100644 --- a/tests/config.js +++ b/tests/config.js @@ -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"; diff --git a/tests/tests/popup.js b/tests/tests/popup.js index f03a51f..a68c4b6 100644 --- a/tests/tests/popup.js +++ b/tests/tests/popup.js @@ -546,16 +546,19 @@ 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 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); + await wait(150); equal((await getSelectedRow(cbaTableQuery)).id, "cba-table-id-2"); await wait(350);