@Test public void should_Find_Frame_Before_Given_Timeout_Expires() { clickLaunchFrameButton(); FrameFixture found = WindowFinder.findFrame(matcher).withTimeout(500, MILLISECONDS).using(robot); assertThat(found.target()).isInstanceOf(WindowToLaunch.class); }
@Test public void should_Find_Frame() { clickLaunchFrameButton(); FrameFixture found = WindowFinder.findFrame(matcher).using(robot); assertThat(found.target()).isInstanceOf(WindowToLaunch.class); }