All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- remove all references to SeleniumQA! Should not need to reference that to bootstrap driver.
- Single package, Draki. Get up and running with just one package.
- start and stop the test website necessary for running the tests.
- migrate sample website from asp.net MVC to ASP.NET Core MVC so that we can run the website and test it using kestrel via dotnet run.
- confirm that I.Expect actually throws assert inconclusive and can be used for precondition checks in Nunit. make a note to test with Xunit, don't think the concept exists in xunit?
- now supporting latest Chrome drivers
ChromeDriver 73.0.3683.68
- move to dotnetcore
- removed Winforms sendkeys, replaced with Selenium.Sendkeys.
- add an assertInconclusive placeholder test for HTML5 drag and drop showing the issues with ChromeDriver and drag and drop.
- removed phantomJs : See https://stackoverflow.com/questions/52442100/selenium-phantomjs-is-invalid-namespace
- removed UploadFile. Simply use
EnterText
andClick
to upload file instead, seeUploadTests.cs
.
QuickExists
: Returns whether a css item exists without the long wait typical of Selenium tests if it does not exist.
GetTitle
:I.GetTitle()
returns the page title of the current page.
- CRITICAL FIX : Upload file
I.Upload(upload, file);
would crash selenium. (was calling recursively) fixed.
UploadTests.UploadFileTest()
- marked
LeftClick()
andLinkClick()
tests as[Category(Category.FLAKEY)]
: Have not worked out yet why these tests are failing. Re-running these tests and they pass. It's on the backlog to find out why. - new test
WindowSwitchToTitleContainingTest()
- new test
WindowSwitchToNonExistentThrowsTest()
: move the slow part of the test into a seperate test and mark asVerySlow
. - new test
SwitchToPopupTest()
: test popup windows. - two link buttons to
TestApplication/Views/Home/Index.cshtml
to launch pop up windows for testing.
I.Switch.Window(x)
now switches to windows where url containsx
or window title containsx
. Previously it was url endswith, which would fail if your url contained query params.- added counting elements to
CountTests.cs
.
- fixed bug
No target with given id
that sometimes occurrs when switching windows with alerts and where size of window changes. - home button on
TestApplication/Views/Shared/Layout.cshtml
did not take you back to home. Useful to have this link working when manually debugging.