Skip to content
New issue

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

Remove dependency upon internet URLs for selenium tests #3271

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

rnorth
Copy link
Member

@rnorth rnorth commented Sep 26, 2020

Comment on lines -54 to -60
protected static void doSimpleExplore(BrowserWebDriverContainer rule) {
RemoteWebDriver driver = setupDriverFromRule(rule);
driver.get("http://en.wikipedia.org/wiki/Randomness");

// Oh! The irony!
assertTrue("Randomness' description has the word 'pattern'", driver.findElementByPartialLinkText("pattern").isDisplayed());
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no real sense in having two ways to test that Selenium is working, so just removed this altogether.

/**
* Created by rnorth on 30/01/2016.
*/
public class FlakyContainerCreationTest {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was old and ignored anyway, so have just removed.

/**
* @author richardnorth
*/
public class LinkedContainerTest {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that all our tests will now use 'linked' (networked) containers, there's little point in having an explicit test for it that works another way.

@rnorth
Copy link
Member Author

rnorth commented Sep 26, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@rnorth rnorth merged commit 27428a0 into master Sep 28, 2020
@rnorth rnorth deleted the isolated-selenium-tests branch September 28, 2020 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants