Skip to content

Commit

Permalink
The front page of github has started hanging marionette accesses it
Browse files Browse the repository at this point in the history
  • Loading branch information
david-dick committed Nov 2, 2024
1 parent ed23662 commit 032764f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions t/01-marionette.t
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,7 @@ SKIP: {
ok($geo4->latitude() == $latitude, "\$geo4->latitude() has remained after a page load");
ok($geo4->longitude() == $longitude, "\$geo4->longitude() has remained after a page load");
}
ok($firefox->go('https://github.com'), "\$firefox->go('https://github.com') succeeded");
ok($firefox->go('https://github.com/login'), "\$firefox->go('https://github.com/login') succeeded");
my $old_session_cookie = github_session_cookie($firefox);
ok($old_session_cookie, "Found github session cookie");
ok($firefox->go('about:blank'), "\$firefox->go('about:blank') succeeded");
Expand All @@ -1919,21 +1919,21 @@ SKIP: {
}
ok($cookie_count == 0, "There are no availabe cookies for about:blank");
ok(ref $firefox->clear_cache() eq $class, "\$firefox->clear_cache() produces a $class object");
ok($firefox->go('https://github.com'), "\$firefox->go('https://github.com') succeeded");
ok($firefox->go('https://github.com/login'), "\$firefox->go('https://github.com/login') succeeded");
my $new_session_cookie = github_session_cookie($firefox);
ok(defined $new_session_cookie, "The session cookie was found after clearing cache");
ok($old_session_cookie ne $new_session_cookie, "Different session cookie found after clearing everything in the cache");
$old_session_cookie = $new_session_cookie;
ok($firefox->go('about:blank'), "\$firefox->go('about:blank') succeeded");
ok(ref $firefox->clear_cache(Firefox::Marionette::Cache::CLEAR_COOKIES()) eq $class, "\$firefox->clear_cache(Firefox::Marionette::Cache::CLEAR_COOKIES()) produces a $class object");
ok($firefox->go('https://github.com'), "\$firefox->go('https://github.com') succeeded");
ok($firefox->go('https://github.com/login'), "\$firefox->go('https://github.com/login') succeeded");
$new_session_cookie = github_session_cookie($firefox);
ok(defined $new_session_cookie, "The session cookie was found after clearing cache");
ok($old_session_cookie ne $new_session_cookie, "Different session cookie found after clearing cookie cache");
$old_session_cookie = $new_session_cookie;
ok($firefox->go('about:blank'), "\$firefox->go('about:blank') succeeded");
ok(ref $firefox->clear_cache(Firefox::Marionette::Cache::CLEAR_NETWORK_CACHE()) eq $class, "\$firefox->clear_cache(Firefox::Marionette::Cache::CLEAR_NETWORK_CACHE()) produces a $class object");
ok($firefox->go('https://github.com'), "\$firefox->go('https://github.com') succeeded");
ok($firefox->go('https://github.com/login'), "\$firefox->go('https://github.com/login') succeeded");
$new_session_cookie = github_session_cookie($firefox);
ok(defined $new_session_cookie, "The session cookie was found after clearing cache");
TODO: {
Expand Down

0 comments on commit 032764f

Please sign in to comment.