Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(attribute): add test attributes for incoming call #698

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/lib/components/calling/IncomingCall.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@
</script>

{#if pending}
<div id="incoming-call">
<div id="incoming-call" data-cy="incoming-call">
<div class="body">
<div class="content">
<ProfilePicture id={$user.key} hook="friend-profile-picture" size={Size.Large} image={$user.profile.photo.image} status={$user.profile.status} />
<Text>{$user.name}</Text>
<Text muted>{$user.profile.status_message}</Text>
<Text hook="incoming-call-username">{$user.name}</Text>
<Text hook="incoming-call-status" muted>{$user.profile.status_message}</Text>
<Spacer />
<Controls>
<Button appearance={Appearance.Success} text="Answer" on:click={answerCall}>
<Button hook="button-accept-incoming-call" appearance={Appearance.Success} text="Answer" on:click={answerCall}>
<Icon icon={Shape.PhoneCall} />
</Button>
<Button appearance={Appearance.Error} text="End" on:click={endCall}>
<Button hook="button-deny-incoming-call" appearance={Appearance.Error} text="End" on:click={endCall}>
<Icon icon={Shape.PhoneXMark} />
</Button>
</Controls>
Expand Down
Loading