@@ -2319,6 +2319,10 @@ describe('Floccus', function() {
23192319 title : 'foo' ,
23202320 parentId : barFolder . id
23212321 } )
2322+ const bookmarksBar = await browser . bookmarks . create ( {
2323+ title : 'Bookmarks Bar' ,
2324+ parentId : localRoot
2325+ } )
23222326 await browser . bookmarks . create ( {
23232327 title : 'url' ,
23242328 url : 'http://ur.l/' ,
@@ -2340,11 +2344,11 @@ describe('Floccus', function() {
23402344 await browser . bookmarks . create ( {
23412345 title : 'url3' ,
23422346 url : 'http://ur3.l' ,
2343- parentId : 'toolbar_____'
2347+ parentId : bookmarksBar . id
23442348 } )
23452349 await browser . bookmarks . create ( {
23462350 type : 'separator' ,
2347- parentId : 'toolbar_____'
2351+ parentId : bookmarksBar . id
23482352 } )
23492353
23502354 await account . sync ( ) // propagate to server
@@ -2361,15 +2365,15 @@ describe('Floccus', function() {
23612365 new Folder ( { title : 'foo' ,
23622366 children : [
23632367 new Bookmark ( { title : 'url' , url : 'http://ur.l/' } ) ,
2364- new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/index.html ?id=467366' } ) ,
2368+ new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/?id=467366' } ) ,
23652369 new Bookmark ( { title : 'url2' , url : 'http://ur2.l' } ) ,
2366- new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/index.html ?id=731368' } )
2370+ new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/?id=731368' } )
23672371 ] } ) ,
23682372 ] } ) ,
23692373 new Folder ( { title : 'Bookmarks Bar' ,
23702374 children : [
23712375 new Bookmark ( { title : 'url3' , url : 'http://ur3.l' } ) ,
2372- new Bookmark ( { title : '' , url : 'https://separator.floccus.org/vertical.html?id=000000 ' } )
2376+ new Bookmark ( { title : '' , url : 'https://separator.floccus.org/vertical.html?id=591710 ' } )
23732377 ] } )
23742378 ] } ) ,
23752379 false
@@ -2383,15 +2387,15 @@ describe('Floccus', function() {
23832387 new Folder ( { title : 'foo' ,
23842388 children : [
23852389 new Bookmark ( { title : 'url' , url : 'http://ur.l/' } ) ,
2386- new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/index.html ?id=467366' } ) ,
2390+ new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/?id=467366' } ) ,
23872391 new Bookmark ( { title : 'url2' , url : 'http://ur2.l' } ) ,
2388- new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/index.html ?id=731368' } )
2392+ new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/?id=731368' } )
23892393 ] } )
23902394 ] } ) ,
23912395 new Folder ( { title : 'Bookmarks Bar' ,
23922396 children : [
23932397 new Bookmark ( { title : 'url3' , url : 'http://ur3.l' } ) ,
2394- new Bookmark ( { title : '' , url : 'https://separator.floccus.org/vertical.html?id=000000 ' } )
2398+ new Bookmark ( { title : '' , url : 'https://separator.floccus.org/vertical.html?id=591710 ' } )
23952399 ] } )
23962400 ] } ) ,
23972401 false
@@ -2420,14 +2424,14 @@ describe('Floccus', function() {
24202424 children : [
24212425 new Bookmark ( { title : 'url' , url : 'http://ur.l/' } ) ,
24222426 new Bookmark ( { title : 'url2' , url : 'http://ur2.l' } ) ,
2423- new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/index.html ?id=467366' } )
2427+ new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/?id=467366' } )
24242428 ] } ) ,
2425- new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/index.html ?id=379999' } )
2429+ new Bookmark ( { title : '⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯' , url : 'https://separator.floccus.org/?id=379999' } )
24262430 ] } ) ,
24272431 new Folder ( { title : 'Bookmarks Bar' ,
24282432 children : [
24292433 new Bookmark ( { title : 'url3' , url : 'http://ur3.l' } ) ,
2430- new Bookmark ( { title : '' , url : 'https://separator.floccus.org/vertical.html?id=000000 ' } )
2434+ new Bookmark ( { title : '' , url : 'https://separator.floccus.org/vertical.html?id=591710 ' } )
24312435 ] } )
24322436 ] } ) ,
24332437 false
@@ -2450,7 +2454,7 @@ describe('Floccus', function() {
24502454 new Folder ( { title : 'Bookmarks Bar' ,
24512455 children : [
24522456 new Bookmark ( { title : 'url3' , url : 'http://ur3.l' } ) ,
2453- new Bookmark ( { title : '' , url : 'https://separator.floccus.org/vertical.html?id=000000 ' } )
2457+ new Bookmark ( { title : '' , url : 'https://separator.floccus.org/vertical.html?id=591710 ' } )
24542458 ] } )
24552459 ] } ) ,
24562460 false
0 commit comments