This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { expect, test } from '@playwright/test'; | |
import { storyUrl } from 'utils/navigate'; | |
test.describe('Extranet-ui CollapsibleText', () => { | |
const urlLongText = storyUrl('collapsibletext--long-text'); | |
const urlShortText = storyUrl('collapsibletext--short-text'); | |
const urlReactElement = storyUrl('collapsibletext--react-element'); | |
const textDataTestId = 'extranet-ui-collapsible-text'; | |
const collapseButtonDataTestId = 'extranet-ui-collapsible-collapse-button'; | |
const defaultText = ` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('Beep Boop Beep'); //prints 'Beep Boop Beep' | |
require('dotenv').config(); //load the dotenv node pachage and call a config() func to load thea values from .env | |
const Discord = require('discord.js'); | |
const client = new Discord.Client({ ws: { intents: [ | |
'GUILDS', | |
'GUILD_MESSAGES', | |
'GUILD_PRESENCES', |