Skip to content

A cypress automation to resend invitations to invited members of a Slack workspace

Notifications You must be signed in to change notification settings

dmahely/slack-reinvite-automation

Repository files navigation

slack-reinvite-automation

What

This repo contains a browser automation that opens up a Slack workspace and reinvites every member who hasn't accepted the invite yet.

Why

I'm an admin of many Slack workspaces and frequently need to reinvite people manually. After Slack recently changed their interface to add an extra confirmation pop up and refresh the page after each reinvite, I decided to finally automate this process.

How

  1. Clone this repo
  2. Run npm install
  3. Copy the contents of .cypress.env.json.sample to another file named .cypress.env.json and update the required variables to your specific workspace
  4. Run npm start
  5. A Cypress window will open up where you can select E2E testing, then select the browser of your choice
  6. Select the spec file named reinvite.spec.js and Cypress will start running the automation in the browser

About

A cypress automation to resend invitations to invited members of a Slack workspace

Topics

Resources

Stars

Watchers

Forks