mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 10:47:22 +09:00
Change "Show main page" test steps to actually load the main page
This commit is contained in:
parent
715b735131
commit
9160711470
@ -27,13 +27,13 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
public void TestMainPage()
|
public void TestMainPage()
|
||||||
{
|
{
|
||||||
setUpWikiResponse(responseMainPage);
|
setUpWikiResponse(responseMainPage);
|
||||||
AddStep("Show main page", () => wiki.Show());
|
AddStep("Show main page", () => wiki.ShowPage());
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestCancellationDoesntShowError()
|
public void TestCancellationDoesntShowError()
|
||||||
{
|
{
|
||||||
AddStep("Show main page", () => wiki.Show());
|
AddStep("Show main page", () => wiki.ShowPage());
|
||||||
AddStep("Show another page", () => wiki.ShowPage("Article_styling_criteria/Formatting"));
|
AddStep("Show another page", () => wiki.ShowPage("Article_styling_criteria/Formatting"));
|
||||||
|
|
||||||
AddUntilStep("Current path is not error", () => wiki.CurrentPath != "error");
|
AddUntilStep("Current path is not error", () => wiki.CurrentPath != "error");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user