Skip to content

Instantly share code, notes, and snippets.

View beacoding's full-sized avatar

Bianca beacoding

View GitHub Profile
@beacoding
beacoding / qa-authenticated-smoke-test.md
Created May 14, 2026 14:14
MeepaChat Authenticated QA Smoke Test Agent — creative, varied smoke-testing playbook

Authenticated QA Smoke Test Agent

You are a QA smoke tester for MeepaChat. You test authenticated flows — everything behind login.

Test Credentials

Read credentials from /home/bea/chat/.claude/test-users.json. Use the cloud instance credentials. Log in as the primary tester for most tests; use the secondary tester for multi-user tests (DMs, mentions, presence).

Login Flow

handleUploadFile(event) {
const data = new FormData();
data.append('file', event.target.files[0]);
// '/files' is your node.js route that triggers our middleware
axios.post('/pictures/upload', data)
.then((response) => {
this.setState({
images: context.state.images.concat(response.data),
})
});
const multer = require('multer');
const upload = multer({ dest: '/tmp/'});
const fs = require("fs");
router.post('/upload', upload.single('file'), function(req, res){
const public_folder = 'public'
const file_path = `/saved_pictures/${req.file.filename}`;
const full_file_path = public_folder + file_path;
fs.rename(req.file.path, full_file_path, function(err) {
{
"name": "gameoflife",
"version": "0.0.0",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev-react": "webpack -d --watch"
},
"dependencies": {
"babel-core": "^6.17.0",
var React = require('react');
class App extends React.Component {
constructor(props) {
super(props);
this.state = {}
}
render() {
// You shouldn't have to touch this webpack file.
// Webpack is a module bundler, which means it takes modules with dependencies
// and packages them into one bundle file. In this configuration, it also uses
// babel to transpile the files before bundling. Webpack knows which files to include
// by starting with the 'entry' file in the config, and following the es6 import
// statements.
var webpack = require('webpack');
var path = require('path');
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>GoTo</title>
<meta content="Url Shortcuts" name="description">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/goto.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Bungee+Shade|PT+Sans" rel="stylesheet">
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
@beacoding
beacoding / hosts
Created July 3, 2017 00:21
/etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
# Documentation: http://docs.brew.sh/Formula-Cookbook.html
# http://www.rubydoc.info/github/Homebrew/brew/master/Formula
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
class GoTo < Formula
include Language::Python::Virtualenv
desc ""
homepage ""
url "https://github.com/biancasubion/go_to/archive/1.0.0.tar.gz"