Skip to content

Commit

Permalink
test: add new form (revolut)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbajpeyi committed Dec 20, 2024
1 parent 6ef0308 commit 5d2c6ca
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test-forms/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,5 +550,6 @@
{ "html": "paperlesspost_login.html"},
{ "html": "deltamath_reset_password.html"},
{ "html": "freshdirect_com_login.html"},
{ "html": "auth_wetransfer_com_login.html"}
{ "html": "auth_wetransfer_com_login.html"},
{ "html": "revolut_business_login.html"}
]
105 changes: 105 additions & 0 deletions test-forms/revolut_business_login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
Form is seen as signup instead it's a signin (offers to generate a password).
<form style="isolation: isolate;" class="Box-rui__sc-1g1k12l-0 Flex-rui__sc-p3ay74-0 eUOgFZ bbxbpk">
<div class="Box-rui__sc-1g1k12l-0 Flex-rui__sc-p3ay74-0 gGqtXm hCkpoA"></div>
<main class="Box-rui__sc-1g1k12l-0 Grid-rui__sc-11lbuez-0 brdbJx brQCyG">
<div class="Box-rui__sc-1g1k12l-0 dPAghs">
<div data-rui="header" class="Box-rui__sc-1g1k12l-0 fexWNn">
<div class="Box-rui__sc-1g1k12l-0 NavBar__NavBarWrapper-rui__sc-1qirrji-0 gvCBfA bFSBIq">
<div class="Box-rui__sc-1g1k12l-0 fjKfXc">
<div class="Box-rui__sc-1g1k12l-0 Flex-rui__sc-p3ay74-0 dpISpi hCkpoA">
<div class="Box-rui__sc-1g1k12l-0 NavBar__NavBarItem-rui__sc-1qirrji-1 cTSqgF ZxliL">
<button aria-label="Back"
class="ButtonBase__ButtonBaseWrapper-rui__sc-1aqanxw-1 jQGznw ButtonBase-rui__sc-1aqanxw-2 IconButton__IconButtonBase-rui__sc-1xan14r-0 hShkvr fFivNA"
type="button">
<span data-rui="state-layer" class="ButtonBase__ButtonStateLayer-rui__sc-1aqanxw-0 kxyOEN"></span>
<span class="Box-rui__sc-1g1k12l-0 ZStack-rui__sc-1v99yf7-0 lgnJSc fWxmst">
<span data-variant="mono" data-rui="icon" class="Icon-rui__sc-18fefp5-0 kyEgEG"></span>
<div class="VisuallyHidden-rui__sc-p5i143-0 fUuBrs"></div>
</span>
</button>
</div>
</div>
</div>
<div data-rui-part="header-title"
class="Box-rui__sc-1g1k12l-0 NavBar__NavBarItem-rui__sc-1qirrji-1 jwHNjZ eZFJXZ">
<h1 class="Box-rui__sc-1g1k12l-0 Text-rui__sc-1be7qv6-0 eCzGsk fEiLuQ">
<span max="3" class="LineClamp__LineClampBase-rui__sc-1asyw6f-0 lcqOPu">Enter password</span>
</h1>
</div>
</div>
</div>
</div>
<div class="Box-rui__sc-1g1k12l-0 hTRMAI">
<span
class="Box-rui__sc-1g1k12l-0 Flex-rui__sc-p3ay74-0 Stack-rui__sc-1t382g5-0 VStack-rui__sc-e0ymcb-0 eFfZB dBjKwq boIXrP">
<label class="InputWrapper-rui__sc-q0e2zw-0 kVuBX" data-rui-input-type="password" aria-disabled="false">
<div aria-invalid="false" aria-disabled="false"
class="Box-rui__sc-1g1k12l-0 InputBox-rui__sc-okizbt-0 GreyInputBox__GreyInputBoxWrapper-rui__sc-1nxv1xn-0 jsvGMQ hHASXI kHsdky">
<span
class="Box-rui__sc-1g1k12l-0 Flex-rui__sc-p3ay74-0 Stack-rui__sc-1t382g5-0 HStack-rui__sc-4zbgg7-0 BMfFI kVwcez bLpbfu">
<span
class="Box-rui__sc-1g1k12l-0 Flex-rui__sc-p3ay74-0 Stack-rui__sc-1t382g5-0 VStack-rui__sc-e0ymcb-0 ddjeOE boIXrP">
<input
placeholder="Password" aria-invalid="false" data-autofocus="true" type="password" autocomplete="off"
name="passcode" class="InputBase-rui__sc-gjs15y-0 EvFCn" value="" data-manual-scoring="password.current">
</span>
<span
class="Box-rui__sc-1g1k12l-0 Flex-rui__sc-p3ay74-0 Stack-rui__sc-1t382g5-0 HStack-rui__sc-4zbgg7-0 BMfFI gqYMnx bLpbfu">
<span
class="Box-rui__sc-1g1k12l-0 Flex-rui__sc-p3ay74-0 Stack-rui__sc-1t382g5-0 HStack-rui__sc-4zbgg7-0 BMfFI kVwcez bLpbfu">
<button
class="ButtonBase__ButtonBaseWrapper-rui__sc-1aqanxw-1 jQGznw ButtonBase-rui__sc-1aqanxw-2 IconButton__IconButtonBase-rui__sc-1xan14r-0 hShkvr kIwDsj"
type="button">
<span data-rui="state-layer" class="ButtonBase__ButtonStateLayer-rui__sc-1aqanxw-0 kxyOEN"></span>
<span class="Box-rui__sc-1g1k12l-0 ZStack-rui__sc-1v99yf7-0 lgnJSc fWxmst">
<span data-variant="mono" data-rui="icon" class="Icon-rui__sc-18fefp5-0 kyEgEG"></span>
<div class="VisuallyHidden-rui__sc-p5i143-0 fUuBrs">Show</div>
</span>
</button>
</span>
</span>
</span>
</div>
</label>
<button
class="ButtonBase__ButtonBaseWrapper-rui__sc-1aqanxw-1 kKoDSk ButtonBase-rui__sc-1aqanxw-2 ButtonLayout___StyledButtonBase-rui__sc-15pyc45-2 hShkvr fENfOr Action-rui__sc-1q34a5u-0 djmqkZ"
type="button">
<span data-rui="state-layer" class="ButtonBase__ButtonStateLayer-rui__sc-1aqanxw-0 kxyOEN"></span>Forgot
password</button>
</span>
</div>
<div class="Box-rui__sc-1g1k12l-0 hwRcLr"></div>
<div class="Box-rui__sc-1g1k12l-0 kaTbVU">
<button type="submit" disabled=""
class="ButtonBase__ButtonBaseWrapper-rui__sc-1aqanxw-1 kKoDSk ButtonBase-rui__sc-1aqanxw-2 ButtonLayout___StyledButtonBase-rui__sc-15pyc45-2 hShkvr fENfOr Button-rui__sc-1gvtpv4-0 isJVQL"
tabindex="-1" data-manual-submit>
<span data-rui="state-layer" class="ButtonBase__ButtonStateLayer-rui__sc-1aqanxw-0 kxyOEN"></span>
<span class="Ellipsis__EllipsisBase-rui__sc-1uis3y5-0 impFHm">Continue</span>
</button>
</div>
</main>
<div class="Box-rui__sc-1g1k12l-0 Flex-rui__sc-p3ay74-0 eUtVxi NNkuS">
<button aria-label="Change language"
class="ButtonBase__ButtonBaseWrapper-rui__sc-1aqanxw-1 kKoDSk ButtonBase-rui__sc-1aqanxw-2 ButtonLayout___StyledButtonBase-rui__sc-15pyc45-2 hShkvr fENfOr Action-rui__sc-1q34a5u-0 dNIasF"
type="button">
<span data-rui="state-layer" class="ButtonBase__ButtonStateLayer-rui__sc-1aqanxw-0 kxyOEN"></span>
<span class="ButtonLayout__IconWrapper-rui__sc-15pyc45-0 falLv">
<span data-rui="avatar" data-glow="true"
style="--rui-avatar-glow: rgb(var(--rui-color-channel-accent-neutral) / 0.1); --rui-avatar-icon-size: 20px; --rui-avatar-badge-offset: calc(-1 * var(--rui-space-s6)); --rui-avatar-shadow-size: 1px;"
class="Box-rui__sc-1g1k12l-0 ZStack-rui__sc-1v99yf7-0 Avatar__AvatarStack-rui__sc-3hln3v-5 fMaeXH ehUSVv cOtQQ">
<span
class="Box-rui__sc-1g1k12l-0 ZStack-rui__sc-1v99yf7-0 Avatar__AvatarButtonStack-rui__sc-3hln3v-7 dRlYsI ehUSVv kPAkRA">
<div class="Box-rui__sc-1g1k12l-0 Avatar__AvatarBackground-rui__sc-3hln3v-0 dzDTNG efEYCm"></div>
<div class="Box-rui__sc-1g1k12l-0 Avatar__AvatarImage-rui__sc-3hln3v-1 dRlYsI iHkjvq"></div>
</span>
<span
class="Box-rui__sc-1g1k12l-0 ZStack-rui__sc-1v99yf7-0 Avatar__BadgesStack-rui__sc-3hln3v-8 lgnJSc ehUSVv eNicwq"></span>
</span>
</span>English (United Kingdom)<span class="ButtonLayout__IconWrapper-rui__sc-15pyc45-0 cBfoAQ">
<span data-variant="mono" data-rui="icon" class="Icon-rui__sc-18fefp5-0 dQYjGO"></span>
</span>
</button>
<a href="https://www.revolut.com/privacy-policy/" target="_blank"
class="Box-rui__sc-1g1k12l-0 Text-rui__sc-1be7qv6-0 jNvsZc eBxvyI">Privacy Policy</a>
</div>
</form>

0 comments on commit 5d2c6ca

Please sign in to comment.