public void RT02280_LoginComposerOnlyUserRequestAccess() { _mm.InboxHousekeeping(_mm.ClientUserDirectory); Login(TestConfig.ComposerOnlyUser, isPressTenantButton: false); Click(LoginPage.RequestAccessButton); Assert.IsTrue(IsElementFoundQuickly(LoginPage.RequestSentWindow), "Request sent confirmation window is absent"); Assert.IsTrue(IsElementFoundQuickly(LoginPage.CloseButton), @"Close button is not present on modal 'Request sent'"); Click(LoginPage.CloseButton); ShowAlert("Waiting for email..."); WaitForNewMail(_mm.ClientUserDirectory, _waitMailTimeoutSeconds); CloseAlert(); var emailReceived = _mm.IsAccessRequestEmailReceived(); Assert.IsTrue(emailReceived, @"Haven't got an email with temporary password"); }