We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@pytest.mark.parametrize("url, test_name", ([ ["https://abc.com/one", "test_1"], ["https://abc.com/two", "test_2"], ["https://abc.com/three", "test_3"], ["https://abc.com/four", "test_4"], ])) def test_screen_1(url, test_name): driver = webdriver.Chrome(executable_path ="/path") driver.get(url) time.sleep(3) percy_snapshot(driver, test_name) driver.quit()
consider above example, where in test_1 snapshot is a root resource and is being cached while doing asset discovery in below code line.
test_1
cli/packages/core/src/discovery.js
Lines 281 to 282 in cf1bae8
when we take snapshots for other URLs say https://abc.com/three, https://abc.com/one is being referenced in the webpage.
https://abc.com/three
https://abc.com/one
and causes us to serve a dirty cache from the previous snapshot for which is-root was true.
is-root
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The problem
consider above example, where in
test_1
snapshot is a root resource and is being cached while doing asset discovery in below code line.cli/packages/core/src/discovery.js
Lines 281 to 282 in cf1bae8
when we take snapshots for other URLs say
https://abc.com/three
,https://abc.com/one
is being referenced in the webpage.and causes us to serve a dirty cache from the previous snapshot for which
is-root
was true.Possible Solution
The text was updated successfully, but these errors were encountered: