From 94d101303c68133e1a7f445d77ff303d02eb01d7 Mon Sep 17 00:00:00 2001 From: Xavier Mouton-Dubosc Date: Tue, 16 Feb 2021 12:32:00 +0100 Subject: [PATCH] test updates to element changes Annotations in a ticker as in SoundCloud #76 --- tests/tests-interface.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests-interface.js b/tests/tests-interface.js index a91dda0e..a0948a21 100644 --- a/tests/tests-interface.js +++ b/tests/tests-interface.js @@ -476,7 +476,7 @@ I still have an issue on this test, as the tested code works correctly, and i'm assert.notEqual(secondary_API_CPU.get_point('hello', 'world'), undefined, 'get_point() returns data'); assert.ok(secondary_interfacetag.querySelector('aside#track_«hello» > a#track_«hello»_point_«world»') , 'DOM element point added in aside track'); - assert.ok(secondary_interfacetag.querySelector('div.panel#panel_«hello» > nav > ul > li > a#panel_«hello»_point_«world»'), 'DOM element point added in panel'); + assert.ok(secondary_interfacetag.querySelector('div.panel#panel_«hello» > nav > ul > li#panel_«hello»_point_«world»'), 'DOM element point added in panel'); let point_in_track = secondary_API_CPU.get_point_track('hello', 'world'); let point_in_panel = secondary_API_CPU.get_point_panel('hello', 'world'); @@ -487,7 +487,7 @@ I still have an issue on this test, as the tested code works correctly, and i'm assert.ok(time_in_point, 'point in panel has a