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

fix safari scroll #1663

Merged
merged 18 commits into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from 8 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
3 changes: 1 addition & 2 deletions .github/workflows/linting-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,10 @@ jobs:

- name: Install Playwright binaries/dependencies
if: steps.playwright-cache.outputs.cache-hit != 'true'
# if more browsers are added, will need to modify the "npx playwright install" command
# https://stackoverflow.com/questions/65900299/install-single-dependency-from-package-json-with-yarn
run: |
yarn add "@playwright/test@${{ env.PLAYWRIGHT_VERSION }}"
npx playwright install --with-deps chromium firefox
npx playwright install --with-deps chromium firefox webkit
joeyorlando marked this conversation as resolved.
Show resolved Hide resolved
npx playwright install-deps

- name: Await k8s pods and other resources up
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Addressed bug with iOS mobile push notifications always being set to critical by @imtoori and @joeyorlando ([#1646](https://github.com/grafana/oncall/pull/1646))
- Fixed issue where Viewer was not able to view which people were oncall in a schedule ([#999](https://github.com/grafana/oncall/issues/999))
- Fixed a bug with syncing teams from Grafana API by @vadimkerr ([#1652](https://github.com/grafana/oncall/pull/1652))
- Fixed bug when web schedules/shifts use non-UTC timezone and shift is deleted by @matiasb ([#1661](https://github.com/grafana/oncall/pull/1661))
joeyorlando marked this conversation as resolved.
Show resolved Hide resolved
- Enable tests on Safari
- Fix Safari scroll ([#415](https://github.com/grafana/oncall/issues/415))
joeyorlando marked this conversation as resolved.
Show resolved Hide resolved

## v1.2.3 (2023-03-28)

Expand Down
14 changes: 6 additions & 8 deletions grafana-plugin/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,12 @@ const config: PlaywrightTestConfig = {
...devices['Desktop Firefox'],
},
},

// TODO: enable tests on Safari once the scroll bug when creating an integration is patched
// {
// name: 'webkit',
// use: {
// ...devices['Desktop Safari'],
// },
// },
{
name: 'webkit',
use: {
...devices['Desktop Safari'],
},
},

/* Test against mobile viewports. */
// {
Expand Down
3 changes: 2 additions & 1 deletion grafana-plugin/src/img/grafanaGlobalStyles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* Navigation/Layout */

.drawer-content {
.drawer-content,
.rc-drawer-content {
overflow: auto !important; /* fix https://github.com/grafana/oncall/issues/415 */
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,7 @@ class EscalationChainsPage extends React.Component<EscalationChainsPageProps, Es
return (
<>
<Block withBackground className={cx('header')}>
<Text
size="large"
editable
onTextChange={this.handleEscalationChainNameChange}
data-testid="escalation-chain-name"
>
<Text size="large" onTextChange={this.handleEscalationChainNameChange} data-testid="escalation-chain-name">
{escalationChain.name}
</Text>
<div className={cx('buttons')}>
Expand Down