Skip to content

Commit

Permalink
refactor: code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarco committed May 22, 2024
1 parent bb9df69 commit cd1ae13
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/panda.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
],

// Files to exclude
exclude: ['**/*.{js,jsx,ts,tsx}', '**/*/styled-system'],
exclude: ['**/*.spec.{js,jsx,ts,tsx}', '**/*/styled-system'],

presets: [novuPandaPreset],

Expand Down
10 changes: 10 additions & 0 deletions apps/web/tests/create-notification.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ import { WorkflowSettingsSidePanel } from './page-models/workflowSettingsSidePan
import { EditorState } from './page-models/editorState';

test.describe('Creation functionality', () => {
test.beforeEach(async ({ page }) => {
const { featureFlagsMock } = await initializeSession(page);
featureFlagsMock.setFlagsToMock({
IS_IMPROVED_ONBOARDING_ENABLED: false,
IS_INFORMATION_ARCHITECTURE_ENABLED: false,
IS_BILLING_REVERSE_TRIAL_ENABLED: false,
IS_BILLING_ENABLED: false,
IS_TEMPLATE_STORE_ENABLED: false,
});
});
test('should create in-app notification', async ({ page }) => {
const workflowEditorPage = await WorkflowEditorPage.goToNewWorkflow(page);
await editWorkflowSettings(workflowEditorPage);
Expand Down

0 comments on commit cd1ae13

Please sign in to comment.